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:
AssetCatalogEventInterface,AssetCatalogEventListener,AuditLoggingComponent,VirtualConnectorExtension,OpenMetadataTopicListener
public class AssetCatalogOutTopicClientConnector extends OpenMetadataTopicListenerConnectorBase implements AssetCatalogEventInterface, 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
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 AssetCatalogOutTopicClientConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessEvent(String event)Method to pass an event received on topic.voidprocessEvent(AssetCatalogEvent event)voidregisterListener(String userId, 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
-
-
-
-
Method Detail
-
registerListener
public void registerListener(String userId, AssetCatalogEventListener listener) throws InvalidParameterException
Register a listener object that will be passed each of the events published by the Asset Catalog OMAS.- Specified by:
registerListenerin interfaceAssetCatalogEventInterface- Parameters:
userId- calling userlistener- listener object- Throws:
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:
processEventin interfaceOpenMetadataTopicListener- Specified by:
processEventin classOpenMetadataTopicListenerConnectorBase- Parameters:
event- inbound event
-
processEvent
public void processEvent(AssetCatalogEvent event)
- Specified by:
processEventin interfaceAssetCatalogEventListener
-
-