Class CommunityProfileAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
org.odpi.openmetadata.accessservices.communityprofile.admin.CommunityProfileAdmin
CommunityProfileAdmin controls the startup and shutdown of the Community Profile OMAS for a server.
-
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, initialize, registerWithEnterpriseTopic, setFullServiceName, throwUnexpectedInitializationException
-
Constructor Details
-
CommunityProfileAdmin
public CommunityProfileAdmin()Default constructor
-
-
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
-