Class AssetConsumerOutTopicClientConnector
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.Connector
-
- org.odpi.openmetadata.frameworks.connectors.ConnectorBase
-
- org.odpi.openmetadata.accessservices.assetconsumer.connectors.AssetConsumerOutTopicClientConnector
-
- All Implemented Interfaces:
AssetConsumerEventInterface
public class AssetConsumerOutTopicClientConnector extends ConnectorBase implements AssetConsumerEventInterface
AssetConsumerOutTopicClientConnector is the java implementation of the the client side connector that receives events from the Asset Consumer OMAS's out topic
-
-
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.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
-
-
Constructor Summary
Constructors Constructor Description AssetConsumerOutTopicClientConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterListener(String userId, AssetConsumerEventListener listener)Register a listener object that will be passed each of the events published by the Asset Consumer OMAS.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, start, toString
-
-
-
-
Method Detail
-
registerListener
public void registerListener(String userId, AssetConsumerEventListener listener) throws InvalidParameterException, ConnectionCheckedException, ConnectorCheckedException, PropertyServerException, UserNotAuthorizedException
Register a listener object that will be passed each of the events published by the Asset Consumer OMAS.- Specified by:
registerListenerin interfaceAssetConsumerEventInterface- Parameters:
userId- calling userlistener- listener object- Throws:
InvalidParameterException- one of the parameters is null or invalid.ConnectionCheckedException- there are errors in the configuration of the connection which is preventing the creation of a connector.ConnectorCheckedException- there are errors in the initialization of the connector.PropertyServerException- there is a problem retrieving information from the property server(s).UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
-