Class AssetCatalogAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
org.odpi.openmetadata.accessservices.assetcatalog.admin.AssetCatalogAdmin
AssetCatalogAdmin is the class that is called by the OMAG Server to initialize and terminate
the Asset Catalog OMAS. The initialization call provides this OMAS with resources from the
Open Metadata Repository Services.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
defaultZonesPropertyName, karmaPointIncrementPropertyName, karmaPointPlateauPropertyName, publishZonesPropertyName, supportedZonesPropertyName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(AccessServiceConfig accessServiceConfigurationProperties, OMRSTopicConnector enterpriseOMRSTopicConnector, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String serverUserName) Initialize the access service.void
shutdown()
Shutdown the access service.Methods inherited from class org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
extractDefaultZones, extractKarmaPointIncrement, extractKarmaPointPlateau, extractPublishZones, extractSupportedZones, getFullServiceName, getInTopicEventBusConnector, getOutTopicEventBusConnector, getServerSideOutTopicConnection, getTopicConnector, getTopicName, initialize, registerWithEnterpriseTopic, setFullServiceName, throwUnexpectedInitializationException
-
Constructor Details
-
AssetCatalogAdmin
public AssetCatalogAdmin()
-
-
Method Details
-
initialize
public void initialize(AccessServiceConfig accessServiceConfigurationProperties, OMRSTopicConnector enterpriseOMRSTopicConnector, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String serverUserName) throws OMAGConfigurationErrorException Initialize the access service.- Overrides:
initialize
in classAccessServiceAdmin
- Parameters:
accessServiceConfigurationProperties
- specific configuration properties for this access service.enterpriseOMRSTopicConnector
- connector for receiving OMRS Events from the cohortsrepositoryConnector
- connector for querying the cohort repositoriesauditLog
- audit log component for logging messages.serverUserName
- user id to use on OMRS calls where there is no end user.- Throws:
OMAGConfigurationErrorException
- invalid parameters in the configuration properties.
-
shutdown
public void shutdown()Shutdown the access service.- Specified by:
shutdown
in classAccessServiceAdmin
-