public class IGCOMRSRepositoryEventMapper extends OMRSRepositoryEventMapperBase implements org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension, OpenMetadataTopicListener
auditLog, localMetadataCollectionId, localOrganizationName, localServerName, localServerType, localServerUserId, repositoryConnector, repositoryEventMapperName, repositoryEventProcessor, repositoryHelper, repositoryValidator| Constructor and Description |
|---|
IGCOMRSRepositoryEventMapper()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
Free up any resources held since the connector is no longer needed.
|
void |
initialize(String repositoryEventMapperName,
OMRSRepositoryConnector repositoryConnector)
Pass additional information to the connector needed to process events.
|
void |
initializeEmbeddedConnectors(List<org.odpi.openmetadata.frameworks.connectors.Connector> embeddedConnectors)
Registers itself as a listener of any OpenMetadataTopicConnectors that are passed as
embedded connectors.
|
void |
processEvent(String event)
Method to pass an event received on topic.
|
void |
start()
Indicates that the connector is completely configured and can begin processing.
|
setAuditLog, setMetadataCollectionId, setOrganizationName, setRepositoryEventProcessor, setRepositoryHelper, setRepositoryValidator, setServerName, setServerType, setServerUserIdpublic IGCOMRSRepositoryEventMapper()
public void initialize(String repositoryEventMapperName, OMRSRepositoryConnector repositoryConnector)
initialize in interface OMRSRepositoryEventMapperinitialize in class OMRSRepositoryEventMapperConnectorrepositoryEventMapperName - repository event mapper name used for the source of the OMRS events.repositoryConnector - ths is the connector to the local repository that the event mapper is processing
events from. The repository connector is used to retrieve additional information
necessary to fill out the OMRS Events.public void start()
throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
start in class OMRSRepositoryEventMapperConnectororg.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException - there is a problem within the connector.public void initializeEmbeddedConnectors(List<org.odpi.openmetadata.frameworks.connectors.Connector> embeddedConnectors)
initializeEmbeddedConnectors in interface org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtensionembeddedConnectors - list of connectorspublic void processEvent(String event)
processEvent in interface OpenMetadataTopicListenerevent - inbound eventpublic void disconnect()
throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
disconnect in class OMRSRepositoryEventMapperConnectororg.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException - there is a problem within the connector.Copyright © 2018–2019 ODPi. All rights reserved.