Class AssetConsumerAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
org.odpi.openmetadata.accessservices.assetconsumer.admin.AssetConsumerAdmin
AssetConsumerAdmin manages the startup and shutdown of the Asset Consumer OMAS. During start up,
it validates the parameters and options it receives and sets up the service as requested.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
defaultZonesPropertyName, karmaPointIncrementPropertyName, karmaPointPlateauPropertyName, publishZonesPropertyName, supportedTypesForSearch, supportedZonesPropertyName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(AccessServiceConfig accessServiceConfig, OMRSTopicConnector omrsTopicConnector, 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, getSupportedTypesForSearchOption, getTopicConnector, getTopicName, registerWithEnterpriseTopic, setFullServiceName, throwUnexpectedInitializationException
-
Constructor Details
-
AssetConsumerAdmin
public AssetConsumerAdmin()
-
-
Method Details
-
initialize
public void initialize(AccessServiceConfig accessServiceConfig, OMRSTopicConnector omrsTopicConnector, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String serverUserName) throws OMAGConfigurationErrorException Initialize the access service.- Overrides:
initialize
in classAccessServiceAdmin
- Parameters:
accessServiceConfig
- specific configuration properties for this access service.omrsTopicConnector
- 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
-