Class RexViewInstanceHandler
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.rex.server.RexViewInstanceHandler
RexViewInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the RexViewAdmin class.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRexViewHandler
(String userId, String serverName, String serviceOperationName) The getRexHandler method retrieves the handler from the RexViewServicesInstance and returns it.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getEndsWithRegex, getExceptionHandler, getMiddleRegex, getSearchString, getStartsWithRegex
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
-
Constructor Details
-
RexViewInstanceHandler
public RexViewInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getRexViewHandler
public RexViewHandler getRexViewHandler(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException The getRexHandler method retrieves the handler from the RexViewServicesInstance 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:
- RexHandler
- Throws:
InvalidParameterException
- - the server name is not recognizedUserNotAuthorizedException
- - the user id not permitted to perform the requested operationPropertyServerException
- - the service name is not known - indicating a logic error
-