public class AssetConsumerOMRSTopicListener extends Object implements OMRSTopicListener
| Constructor and Description |
|---|
AssetConsumerOMRSTopicListener(Connection assetConsumerOutTopic,
OMRSRepositoryHelper repositoryHelper,
OMRSRepositoryValidator repositoryValidator,
String componentName,
List<String> supportedZones,
OMRSAuditLog auditLog)
The constructor is given the connection to the out topic for Asset Consumer 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 AssetConsumerOMRSTopicListener(Connection assetConsumerOutTopic, OMRSRepositoryHelper repositoryHelper, OMRSRepositoryValidator repositoryValidator, String componentName, List<String> supportedZones, OMRSAuditLog auditLog) throws OMAGConfigurationErrorException
assetConsumerOutTopic - connection to the out topicrepositoryHelper - provides methods for working with metadata instancesrepositoryValidator - provides validation of metadata instancecomponentName - name of componentsupportedZones - list of zones covered by this instance of the access service.auditLog - log for errors and information messagesOMAGConfigurationErrorExceptionpublic 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–2019 ODPi. All rights reserved.