2018-06-06

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);

No comments:

Post a Comment