Class AssetCatalogInstanceHandler
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
-
- org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
-
- org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstanceHandler
-
- org.odpi.openmetadata.accessservices.assetcatalog.admin.AssetCatalogInstanceHandler
-
public class AssetCatalogInstanceHandler extends OMASServiceInstanceHandler
AssetCatalogInstanceHandler retrieves information from the instance map for the access service instances. The instance map is thread-safe. Instances are added and removed by the AssetCatalogAdmin class.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName
-
-
Constructor Summary
Constructors Constructor Description AssetCatalogInstanceHandler()Default constructor registers the access service
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetCatalogHandlergetAssetCatalogHandler(String userId, String serverName, String serviceOperationName)Retrieve the process handler for the access serviceRelationshipHandlergetRelationshipHandler(String userId, String serverName, String serviceOperationName)Retrieve the registration handler for the access service-
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstanceHandler
getDefaultZones, getDefaultZones, getErrorHandler, getExceptionHandler, getInTopicConnection, getMetadataCollection, getOutTopicConnection, getPublishZones, getPublishZones, getRepositoryConnector, getRepositoryHandler, getRepositoryHelper, getServiceName, getSupportedZones, getSupportedZones
-
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLog
-
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
-
-
-
Method Detail
-
getAssetCatalogHandler
public AssetCatalogHandler getAssetCatalogHandler(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the process handler for the access service- Parameters:
userId- calling userserverName- name of the server tied to the requestserviceOperationName- name of the REST API call (typically the top-level methodName)- Returns:
- handler for use by the requested instance
- Throws:
InvalidParameterException- no available instance for the requested serverUserNotAuthorizedException- user does not have access to the requested serverPropertyServerException- the service name is not known - indicating a logic error
-
getRelationshipHandler
public RelationshipHandler getRelationshipHandler(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the registration handler for the access service- Parameters:
userId- calling userserverName- name of the server tied to the requestserviceOperationName- name of the REST API call (typically the top-level methodName)- Returns:
- handler for use by the requested instance
- Throws:
InvalidParameterException- no available instance for the requested serverUserNotAuthorizedException- user does not have access to the requested serverPropertyServerException- the service name is not known - indicating a logic error
-
-