Class GovernanceProgramServicesInstance


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

      • GovernanceProgramServicesInstance

        public GovernanceProgramServicesInstance​(OMRSRepositoryConnector repositoryConnector,
                                                 AuditLog auditLog,
                                                 String localServerUserId,
                                                 int maxPageSize)
                                          throws NewInstanceException
        Set up the local repository connector that will service the REST Calls.
        Parameters:
        repositoryConnector - link to the repository responsible for servicing the REST calls.
        auditLog - logging destination
        localServerUserId - userId to use for server initiated requests
        maxPageSize - maximum number of results on a single request
        Throws:
        NewInstanceException - a problem occurred during initialization