Class OMRSTopicListenerWrapper
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.omrstopic.OMRSTopicListenerWrapper
- All Implemented Interfaces:
OMRSTopicListener
,OMRSTopicRepositoryEventListener
OMRSTopicListenerWrapper is a class that wraps a real OMRSTopicListener when it registers with the
OMRSTopicConnector. Its sole purpose is to catch exceptions from the real OMRSTopicListener and create
diagnostics. The listeners are called in parallel with no mechanism for the connector to properly
manage errors from the listener so this wrapper has been installed. If the real OMRSTopicListener
has been implemented properly then no errors should be handled by this wrapper class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method to pass an Instance event received on topic.void
Method to pass a Registry event received on topic.void
Method to pass a TypeDef event received on topic.
-
Method Details
-
processRegistryEvent
Method to pass a Registry event received on topic.- Specified by:
processRegistryEvent
in interfaceOMRSTopicListener
- Parameters:
event
- inbound event
-
processTypeDefEvent
Method to pass a TypeDef event received on topic.- Specified by:
processTypeDefEvent
in interfaceOMRSTopicRepositoryEventListener
- Parameters:
event
- inbound event
-
processInstanceEvent
Method to pass an Instance event received on topic.- Specified by:
processInstanceEvent
in interfaceOMRSTopicRepositoryEventListener
- Parameters:
event
- inbound event
-