Class CollectionManagerInstance
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
org.odpi.openmetadata.viewservices.collectionmanager.server.CollectionManagerInstance
CollectionManagerInstance caches references to objects it needs for a specific server.
It is also responsible for registering itself in the instance map.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
remoteServerName, remoteServerURL
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
auditLog, localServerUserId
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the collection management client.Return the connected asset client.Return the open metadata store client.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
getRemoteServerName, getRemoteServerURL
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
getAuditLog
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, setServiceInstanceStatus, shutdown
-
Constructor Details
-
CollectionManagerInstance
public CollectionManagerInstance(String serverName, AuditLog auditLog, String localServerUserId, int maxPageSize, String remoteServerName, String remoteServerURL) throws InvalidParameterException Set up the Collection Manager OMVS instance- Parameters:
serverName
- name of this serverauditLog
- logging destinationlocalServerUserId
- userId used for server initiated actionsmaxPageSize
- maximum page sizeremoteServerName
- remote server nameremoteServerURL
- remote server URL- Throws:
InvalidParameterException
- problem with server name or platform URL
-
-
Method Details
-
getCollectionsClient
Return the collection management client. This client is from Digital Service OMAS and is for maintaining collections.- Returns:
- client
-
getConnectedAssetClient
Return the connected asset client. This client is from Open Connector Framework (OCF) and is for retrieving information about assets and creating connectors.- Returns:
- client
-
getOpenMetadataStoreClient
Return the open metadata store client. This client is from the Governance Action Framework (GAF) and is for accessing and maintaining all types of metadata.- Returns:
- client
-