Package org.apache.cayenne.event
Class NoopEventBridge
java.lang.Object
org.apache.cayenne.event.EventBridge
org.apache.cayenne.event.NoopEventBridge
- All Implemented Interfaces:
EventListener
public class NoopEventBridge extends EventBridge
- Since:
- 4.0
-
Field Summary
Fields inherited from class org.apache.cayenne.event.EventBridge
eventManager, externalEventSource, externalSubject, localSubjects, mode, RECEIVE_EXTERNAL, RECEIVE_LOCAL, RECEIVE_LOCAL_EXTERNAL -
Method Summary
Modifier and Type Method Description protected voidsendExternalEvent(CayenneEvent localEvent)Sends a Cayenne event over the transport supported by this bridge.protected voidshutdownExternal()Shuts down the external interface of the EventBridge, cleaning up and releasing any resources used to communicate external events.protected voidstartupExternal()Starts an external interface of the EventBridge.Methods inherited from class org.apache.cayenne.event.EventBridge
convertToExternalSubject, getEventManager, getExternalEventSource, getExternalSubject, getLocalSubjects, isRunning, onExternalEvent, receivesExternalEvents, receivesLocalEvents, shutdown, startup, startup, startup
-
Method Details
-
startupExternal
Description copied from class:EventBridgeStarts an external interface of the EventBridge.- Specified by:
startupExternalin classEventBridge- Throws:
Exception
-
shutdownExternal
Description copied from class:EventBridgeShuts down the external interface of the EventBridge, cleaning up and releasing any resources used to communicate external events.- Specified by:
shutdownExternalin classEventBridge- Throws:
Exception
-
sendExternalEvent
Description copied from class:EventBridgeSends a Cayenne event over the transport supported by this bridge.- Specified by:
sendExternalEventin classEventBridge- Throws:
Exception
-