Class OMRSTopicListenerWrapper

java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.omrstopic.OMRSTopicListenerWrapper
All Implemented Interfaces:
OMRSTopicListener, OMRSTopicRepositoryEventListener

public class OMRSTopicListenerWrapper extends Object implements OMRSTopicListener
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