public class CommunityProfileOMRSTopicListener extends Object implements OMRSTopicListener
| Constructor and Description |
|---|
CommunityProfileOMRSTopicListener(Connection communityProfileOutTopic,
OMRSRepositoryConnector repositoryConnector,
OMRSRepositoryHelper repositoryHelper,
OMRSRepositoryValidator repositoryValidator,
String componentName)
The constructor is given the connection to the out topic for Community Profile 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 CommunityProfileOMRSTopicListener(Connection communityProfileOutTopic, OMRSRepositoryConnector repositoryConnector, OMRSRepositoryHelper repositoryHelper, OMRSRepositoryValidator repositoryValidator, String componentName)
communityProfileOutTopic - connection to the out topicrepositoryHelper - provides methods for working with metadata instancesrepositoryValidator - provides validation of metadata instancecomponentName - name of componentpublic 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.