Class DesignModelServicesInstance


public class DesignModelServicesInstance extends OMASServiceInstance
DesignModelServicesInstance caches references to objects for a specific server. It is also responsible for registering itself in the instance map.
  • Constructor Details

    • DesignModelServicesInstance

      public DesignModelServicesInstance(OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, AuditLog auditLog, String localServerUserId, int maxPageSize) throws NewInstanceException
      Set up the handlers for this server.
      Parameters:
      repositoryConnector - link to the repository responsible for servicing the REST calls.
      supportedZones - list of zones that DesignModel is allowed to serve Assets from.
      auditLog - destination for audit log events.
      localServerUserId - userId used for server initiated actions
      maxPageSize - maximum number of results that can be returned on a single call
      Throws:
      NewInstanceException - a problem occurred during initialization