Class DataDiscoveryAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
org.odpi.openmetadata.viewservices.datadiscovery.admin.DataDiscoveryAdmin
DataDiscoveryAdmin is the class that is called by the View Server to initialize and terminate
the Data Discovery 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, int maxPageSize) Initialize the Data Discovery view service.void
shutdown()
Shutdown the Data Discovery service.Methods inherited from class org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
getFullServiceName, getSupportedTypesForSearchOption, logBadConfigProperties, logBadConfiguration, setFullServiceName, throwUnexpectedInitializationException
-
Constructor Details
-
DataDiscoveryAdmin
public DataDiscoveryAdmin()Default constructor
-
-
Method Details
-
initialize
public void initialize(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, int maxPageSize) throws OMAGConfigurationErrorException Initialize the Data Discovery 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 to issue calls to the remote server.maxPageSize
- maximum page size. 0 means unlimited- Throws:
OMAGConfigurationErrorException
- invalid parameters in the configuration properties.
-
shutdown
public void shutdown()Shutdown the Data Discovery service.- Specified by:
shutdown
in classViewServiceAdmin
-