Class AssetConsumerServicesInstance

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

    • AssetConsumerServicesInstance

      public AssetConsumerServicesInstance(OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, AuditLog auditLog, String localServerUserId, int maxPageSize, Connection outTopicEventBusConnection) throws NewInstanceException
      Set up the handlers for this server.
      repositoryConnector - link to the repository responsible for servicing the REST calls.
      supportedZones - list of zones that AssetConsumer 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
      outTopicEventBusConnection - inner event bus connection to use to build topic connection to send to client if they which to listen on the out topic.
      NewInstanceException - a problem occurred during initialization
  • Method Details