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

public class RexViewInstanceHandler extends org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
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.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor registers the view service
  • Method Summary

    Modifier and Type
    Method
    Description
    getRexViewHandler(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

    getExceptionHandler

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler

    getAuditLog

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler

    getServerSecurityVerifier, getServiceName, isServerActive, removeServerServiceInstance

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RexViewInstanceHandler

      public RexViewInstanceHandler()
      Default constructor registers the view service
  • Method Details

    • getRexViewHandler

      public RexViewHandler getRexViewHandler(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 getRexHandler method retrieves the handler from the RexViewServicesInstance and returns it.
      Parameters:
      userId - the user performing the operation
      serverName - the name of the server running the view-service
      serviceOperationName - the operation to be performed
      Returns:
      RexHandler
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - - the server name is not recognized
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - - the user id not permitted to perform the requested operation
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - - the service name is not known - indicating a logic error