Class DataEngineInstanceHandler

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.dataengine.server.admin.DataEngineInstanceHandler

public class DataEngineInstanceHandler extends org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstanceHandler
DataEngineInstanceHandler retrieves information from the instance map for the access service instances. The instance map is thread-safe. Instances are added and removed by the DataEngineAdmin class.
  • Constructor Details

    • DataEngineInstanceHandler

      public DataEngineInstanceHandler()
      Default constructor registers the access service
  • Method Details

    • getProcessHandler

      public DataEngineProcessHandler getProcessHandler(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
      Retrieve the process handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getCollectionHandler

      public DataEngineCollectionHandler getCollectionHandler(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
      Retrieve the collection handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getRegistrationHandler

      public DataEngineRegistrationHandler getRegistrationHandler(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
      Retrieve the registration handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of called operation
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getCommonHandler

      public DataEngineCommonHandler getCommonHandler(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
      Retrieve the common handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of called operation
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getDataEngineSchemaTypeHandler

      public DataEngineSchemaTypeHandler getDataEngineSchemaTypeHandler(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
      Retrieve the data engine schema type handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getPortHandler

      public DataEnginePortHandler getPortHandler(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
      Retrieve the port handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getRelationalDataHandler

      public DataEngineRelationalDataHandler getRelationalDataHandler(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
      Retrieve the port handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getInTopicConnection

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getInTopicConnection(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
      Return the connection used in the client to create a connector to access events to the input topic.
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      connection object for client
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getDataFileHandler

      public DataEngineDataFileHandler getDataFileHandler(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
      Retrieve the DataFile handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getFolderHierarchyHandler

      public DataEngineFolderHierarchyHandler getFolderHierarchyHandler(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
      Retrieve the folder hierarchy handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getConnectionAndEndpointHandler

      public DataEngineConnectionAndEndpointHandler getConnectionAndEndpointHandler(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
      Retrieve the connection and endpoint handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getFindHandler

      public DataEngineFindHandler getFindHandler(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
      Retrieve the find handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getTopicHandler

      public DataEngineTopicHandler getTopicHandler(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
      Retrieve the topic handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getEventTypeHandler

      public DataEngineEventTypeHandler getEventTypeHandler(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
      Retrieve the event type handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error