RTC java client required services and Client classes initialization

    Before accessing any RTC server side Components you have initialize the required services and client classes

Below are the Few List of services and client classes initialization(If any other classes you need then add it)


      IWorkItemClient iWorkitemClient = (IWorkItemClient) repo.getClientLibrary(IWorkItemClient.class);
      IQueryClient iQueryClient = (IQueryClient) repo.getClientLibrary(IQueryClient.class);
      IProcessClientService iProcessService =
          (IProcessClientService) repo.getClientLibrary(IProcessClientService.class);
      IAuditableClient iAuditClient = (IAuditableClient) repo.getClientLibrary(IAuditableClient.class);
      IWorkItemCommon workItemCommon = (IWorkItemCommon) repo.getClientLibrary(IWorkItemCommon.class);
      IAuditableCommon iAuditCommon = (IAuditableCommon) repo.getClientLibrary(IAuditableCommon.class);
      IServerQueryService iServerQueryService = (IServerQueryService) repo.getClientLibrary(IServerQueryService.class);
      IRepositoryItemService iRepositoryItemService =
          (IRepositoryItemService) repo.getClientLibrary(IRepositoryItemService.class);
      IResourcePlanningClient resourcePlanningClient =
          (IResourcePlanningClient) repo.getClientLibrary(IResourcePlanningClient.class);

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation