Class CommunityMattersAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
org.odpi.openmetadata.viewservices.communitymatters.admin.CommunityMattersAdmin
CommunityMattersAdmin is the class that is called by the View Server to initialize and terminate
the Community Matters OMVS. The initialization call provides this OMVS with the Audit log and configuration.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
remoteServerName, remoteServerURL, supportedTypesForSearch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, String serverUserPassword, int maxPageSize) Initialize the view service.void
shutdown()
Shutdown the Community Matters service.Methods inherited from class org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
getFullServiceName, getSupportedTypesForSearchOption, logBadConfigProperties, logBadConfiguration, setFullServiceName, throwUnexpectedInitializationException
-
Constructor Details
-
CommunityMattersAdmin
public CommunityMattersAdmin()Default constructor
-
-
Method Details
-
initialize
public void initialize(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, String serverUserPassword, int maxPageSize) throws OMAGConfigurationErrorException Initialize the view service.- Specified by:
initialize
in classViewServiceAdmin
- Parameters:
serverName
- name of the local serverviewServiceConfig
- specific configuration properties for this view service.auditLog
- audit log component for logging messages.serverUserName
- user id to use on OMRS calls where there is no end user, or as part of an HTTP authentication mechanism with serverUserPassword.serverUserPassword
- password to use as part of an HTTP authentication mechanism.maxPageSize
- maximum page size. 0 means unlimited- Throws:
OMAGConfigurationErrorException
- invalid parameters in the configuration properties.
-
shutdown
public void shutdown()Shutdown the Community Matters service.- Specified by:
shutdown
in classViewServiceAdmin
-