Class AssetCatalogOutTopicClientConnector

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.assetcatalog.connectors.outtopic.AssetCatalogOutTopicClientConnector
All Implemented Interfaces:
org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventInterface, org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventListener, org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent, org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension, org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListener

public class AssetCatalogOutTopicClientConnector extends org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicListenerConnectorBase implements org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventInterface, org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventListener
AssetCatalogOutTopicClientConnector is the java base class implementation of the the client side connector that receives events from the Asset Catalog OMAS's OutTopic.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

    org.odpi.openmetadata.frameworks.connectors.ConnectorBase.ProtectedConnection
  • Field Summary

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

    auditLog, connectionName, eventBusConnectors

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

    connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

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

    disconnect, getEventBean, initializeEmbeddedConnectors

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

    getConnectorComponentDescription, setAuditLog, start, validateEventBusConnectors

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

    equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, 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

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

    • AssetCatalogOutTopicClientConnector

      public AssetCatalogOutTopicClientConnector()
  • Method Details

    • registerListener

      public void registerListener(String userId, org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventListener 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 Catalog OMAS.
      Specified by:
      registerListener in interface org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventInterface
      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
    • processEvent

      public void processEvent(org.odpi.openmetadata.accessservices.assetcatalog.model.AssetCatalogEvent event)
      Specified by:
      processEvent in interface org.odpi.openmetadata.accessservices.assetcatalog.api.AssetCatalogEventListener