public class SubjectAreaOMRSTopicListener extends Object implements OMRSTopicListener
| Constructor and Description |
|---|
SubjectAreaOMRSTopicListener(Connection subjectAreaOutTopic,
OMRSRepositoryHelper repositoryHelper,
OMRSRepositoryValidator repositoryValidator,
String componentName,
AuditLog auditLog)
The constructor is given the connection to the out topic for Subject Area 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 SubjectAreaOMRSTopicListener(Connection subjectAreaOutTopic, OMRSRepositoryHelper repositoryHelper, OMRSRepositoryValidator repositoryValidator, String componentName, AuditLog auditLog)
subjectAreaOutTopic - connection to the out topicrepositoryHelper - provides methods for working with metadata instancesrepositoryValidator - provides validation of metadata instancecomponentName - name of componentauditLog - audit logpublic 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.