Class AccessServerServiceInstance

Direct Known Subclasses:
GAFServicesInstance, OCFServicesInstance, OMFServicesInstance

public class AccessServerServiceInstance extends AuditableServerServiceInstance
AccessServerServiceInstance caches references to OMRS objects for a specific Metadata Access Store. It is also responsible for registering itself in the instance map.
  • Field Details

  • Constructor Details

    • AccessServerServiceInstance

      public AccessServerServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String localServerUserId, int maxPageSize) throws NewInstanceException
      Set up the local repository connector that will service the REST Calls.
      Parameters:
      serviceName - name of this service
      repositoryConnector - link to the repository responsible for servicing the REST calls.
      auditLog - logging destination
      localServerUserId - userId used for server initiated actions
      maxPageSize - maximum page size
      Throws:
      NewInstanceException - a problem occurred during initialization
    • AccessServerServiceInstance

      public AccessServerServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String localServerUserId, int maxPageSize, String outTopicConnectorProviderName, Connection outTopicEventBusConnection) throws NewInstanceException
      Set up the local repository connector that will service the REST Calls.
      Parameters:
      serviceName - name of this service
      repositoryConnector - link to the repository responsible for servicing the REST calls.
      auditLog - logging destination
      localServerUserId - userId used for server initiated actions
      maxPageSize - maximum page size
      outTopicConnectorProviderName - class name of the client side out topic connector
      outTopicEventBusConnection - connection for the event bus configured with the out topic
      Throws:
      NewInstanceException - a problem occurred during initialization
  • Method Details