public interface OMRSTopic
| Modifier and Type | Method and Description |
|---|---|
void |
registerListener(OMRSTopicListener newListener)
Deprecated.
|
void |
registerListener(OMRSTopicListener newListener,
String serviceName)
Register a listener object.
|
void |
sendInstanceEvent(OMRSInstanceEvent event)
Sends the supplied event to the topic.
|
void |
sendRegistryEvent(OMRSRegistryEvent event)
Sends the supplied event to the topic.
|
void |
sendTypeDefEvent(OMRSTypeDefEvent event)
Sends the supplied event to the topic.
|
void |
setEventProtocolLevel(OMRSEventProtocolVersion eventProtocolVersion)
Setup the version of the protocol to use for events.
|
void setEventProtocolLevel(OMRSEventProtocolVersion eventProtocolVersion)
eventProtocolVersion - version enum@Deprecated void registerListener(OMRSTopicListener newListener)
newListener - object implementing the OMRSTopicListener interfacevoid registerListener(OMRSTopicListener newListener, String serviceName)
newListener - object implementing the OMRSTopicListener interfaceserviceName - name of service that the listener is fromvoid sendRegistryEvent(OMRSRegistryEvent event) throws ConnectorCheckedException
event - OMRSRegistryEvent object containing the event properties.ConnectorCheckedException - the connector is not able to communicate with the event busvoid sendTypeDefEvent(OMRSTypeDefEvent event) throws ConnectorCheckedException
event - OMRSTypeDefEvent object containing the event properties.ConnectorCheckedException - the connector is not able to communicate with the event busvoid sendInstanceEvent(OMRSInstanceEvent event) throws ConnectorCheckedException
event - OMRSInstanceEvent object containing the event properties.ConnectorCheckedException - the connector is not able to communicate with the event busCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.