Class ServerAuthorViewInstanceHandler
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
org.odpi.openmetadata.viewservices.serverauthor.initialization.ServerAuthorViewInstanceHandler
public class ServerAuthorViewInstanceHandler
extends org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
ServerAuthorViewInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the ServerAuthorViewAdmin class.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor registers the view service -
Method Summary
Modifier and TypeMethodDescriptiongetServerAuthorViewHandler(String userId, String serverName, String serviceOperationName) The getServerAuthorViewHandler method retrieves the handler from the ServerAuthorViewServicesInstance and returns it.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getExceptionHandlerMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLogMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
Constructor Details
-
ServerAuthorViewInstanceHandler
public ServerAuthorViewInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getServerAuthorViewHandler
public ServerAuthorViewHandler getServerAuthorViewHandler(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException The getServerAuthorViewHandler method retrieves the handler from the ServerAuthorViewServicesInstance and returns it.- Parameters:
userId- the user performing the operationserverName- the name of the server running the view-serviceserviceOperationName- the operation to be performed- Returns:
- ServerAuthorViewHandler
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- - the server name is not recognizedorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- - the user id not permitted to perform the requested operationorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- - the service name is not known - indicating a logic error
-