Interface AssetConsumerEventInterface


public interface AssetConsumerEventInterface
AssetConsumerEventInterface defines how a client gets access to the events produced by the Asset Consumer OMAS
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register a listener object that will be passed each of the events published by the Asset Consumer OMAS.
  • Method Details

    • registerListener

      void registerListener(String userId, AssetConsumerEventListener listener) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectionCheckedException, org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Register a listener object that will be passed each of the events published by the Asset Consumer OMAS.
      Parameters:
      userId - calling user
      listener - listener object
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectionCheckedException - there are errors in the configuration of the connection which is preventing the creation of a connector.
      org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException - there are errors in the initialization of the connector.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.