public abstract class OpenMetadataTopicConnector extends ConnectorBase implements OpenMetadataTopic, Runnable, AuditLoggingComponent
ConnectorBase.ProtectedConnection| Modifier and Type | Field and Description |
|---|---|
protected AuditLog |
auditLog |
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties| Constructor and Description |
|---|
OpenMetadataTopicConnector()
Simple constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
checkForEvents()
Deprecated.
Use checkForIncomingEvents() instead.
|
protected List<IncomingEvent> |
checkForIncomingEvents()
Look to see if there is one of more new events to process.
|
void |
disconnect()
Free up any resources held since the connector is no longer needed.
|
String |
registerListener(OpenMetadataTopicListener topicListener)
Register a listener object.
|
void |
run()
This is the method called by the listener thread when it starts.
|
void |
setAuditLog(AuditLog auditLog)
Receive an audit log object that can be used to record audit log messages.
|
void |
start()
Indicates that the connector is completely configured and can begin processing.
|
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitsendEventprotected AuditLog auditLog
public OpenMetadataTopicConnector()
public void setAuditLog(AuditLog auditLog)
setAuditLog in interface AuditLoggingComponentauditLog - audit log objectpublic void run()
protected List<IncomingEvent> checkForIncomingEvents()
@Deprecated protected List<String> checkForEvents()
public String registerListener(OpenMetadataTopicListener topicListener)
registerListener in interface OpenMetadataTopictopicListener - object implementing the OMRSTopicListener interfacepublic void start()
throws ConnectorCheckedException
start in class ConnectorBaseConnectorCheckedException - there is a problem within the connector.public void disconnect()
throws ConnectorCheckedException
disconnect in class ConnectorBaseConnectorCheckedException - there is a problem within the connector.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.