public class AssetLineageOMRSTopicListener extends Object implements OMRSTopicListener
| Constructor and Description |
|---|
AssetLineageOMRSTopicListener(Connection assetLineageOutTopic,
OMRSRepositoryHelper repositoryHelper,
OMRSAuditLog auditLog,
String serverUserName,
String serverName)
The constructor is given the connection to the out topic for Asset Lineage OMAS
along with classes for testing and manipulating instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processInstanceEvent(OMRSInstanceEvent instanceEvent)
Unpack and deliver an instance event to the InstanceEventProcessor
|
void |
processRegistryEvent(OMRSRegistryEvent event)
Method to pass a Registry event received on topic.
|
void |
processTypeDefEvent(OMRSTypeDefEvent event)
Method to pass a Registry event received on topic.
|
public AssetLineageOMRSTopicListener(Connection assetLineageOutTopic, OMRSRepositoryHelper repositoryHelper, OMRSAuditLog auditLog, String serverUserName, String serverName) throws OMAGConfigurationErrorException
assetLineageOutTopic - connection to the out topicrepositoryHelper - helper object for building and querying TypeDefs and metadata instancesauditLog - log for errors and information messagesserverUserName - name of the user of the server instanceserverName - name of this server instanceOMAGConfigurationErrorExceptionpublic void processRegistryEvent(OMRSRegistryEvent event)
processRegistryEvent in interface OMRSTopicListenerevent - inbound eventpublic void processTypeDefEvent(OMRSTypeDefEvent event)
processTypeDefEvent in interface OMRSTopicListenerevent - inbound eventpublic void processInstanceEvent(OMRSInstanceEvent instanceEvent)
processInstanceEvent in interface OMRSTopicListenerinstanceEvent - event to unpackCopyright © 2018–2020 ODPi. All rights reserved.