Class AssetOwnerOutTopicClientConnector

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicConsumerBase
org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListenerConnectorBase
org.odpi.openmetadata.accessservices.assetowner.connectors.outtopic.AssetOwnerOutTopicClientConnector
All Implemented Interfaces:
org.odpi.openmetadata.accessservices.assetowner.api.AssetOwnerEventInterface, org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent, org.odpi.openmetadata.frameworks.connectors.SecureConnectorExtension, org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension, org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListener

public class AssetOwnerOutTopicClientConnector extends org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListenerConnectorBase implements org.odpi.openmetadata.accessservices.assetowner.api.AssetOwnerEventInterface
AssetOwnerOutTopicClientConnector is the java base class implementation of the the client side connector that receives events from the Asset Owner OMAS's OutTopic.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to pass an event received on topic.
    void
    registerListener(String userId, org.odpi.openmetadata.accessservices.assetowner.api.AssetOwnerEventListener listener)
    Register a listener object that will be passed each of the events published by the Asset Owner OMAS.

    Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListenerConnectorBase

    disconnect, initializeEmbeddedConnectors

    Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicConsumerBase

    getConnectorComponentDescription, setAuditLog, start

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

    equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, initializeSecretsStoreConnector, isActive, toString

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector

    clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AssetOwnerOutTopicClientConnector

      public AssetOwnerOutTopicClientConnector()
  • Method Details

    • registerListener

      public void registerListener(String userId, org.odpi.openmetadata.accessservices.assetowner.api.AssetOwnerEventListener listener) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Register a listener object that will be passed each of the events published by the Asset Owner OMAS.
      Specified by:
      registerListener in interface org.odpi.openmetadata.accessservices.assetowner.api.AssetOwnerEventInterface
      Parameters:
      userId - calling user
      listener - listener object
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
    • processEvent

      public void processEvent(String event)
      Method to pass an event received on topic.
      Specified by:
      processEvent in interface org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListener
      Specified by:
      processEvent in class org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListenerConnectorBase
      Parameters:
      event - inbound event