public class AssetLineageOMRSTopicListener extends Object implements OMRSTopicListener
| Constructor and Description |
|---|
AssetLineageOMRSTopicListener(Connection assetLineageOutTopic,
OMRSRepositoryValidator repositoryValidator,
OMRSRepositoryHelper repositoryHelper,
String componentName,
List<String> supportedZones,
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, OMRSRepositoryValidator repositoryValidator, OMRSRepositoryHelper repositoryHelper, String componentName, List<String> supportedZones, OMRSAuditLog auditLog, String serverUserName, String serverName) throws OMAGConfigurationErrorException
assetLineageOutTopic - connection to the out topicrepositoryValidator - provides validation of metadata instancerepositoryHelper - helper object for building and querying TypeDefs and metadata instancescomponentName - name of componentsupportedZones - list of zones covered by this instance of the access service.auditLog - 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.