org.apache.cayenne.event (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.event

# Package org.apache.cayenne.event

package org.apache.cayenne.event

Contains classes that make up Cayenne generic event dispatch mechanism. The central class is EventManager that allows to completely decouple event senders from listeners. EventBridge allows to connect a network of EventManagers in a single "virtual" EventManager. This includes managers running in different JVMs.

- Related Packages
  Package
  Description
  org.apache.cayenne
  Contains persistence APIs directly accessible by users.
- Class
  Description
  CayenneEvent
  Common superclass for events passed from the EventManager to Listeners; encapsulates optional event information.
  DefaultEventManager
  A default implementation of `EventManager`.
  EventBridge
  An object that passes events between a local EventManager and some other event dispatch mechanism.
  EventBridgeFactory
  Defines a factory to dynamically create EventBridge instances.
  EventManager
  This class acts as bridge between an Object that wants to inform others about its current state or a change thereof (Publisher) and a list of objects interested in the Subject (Listeners).
  EventManagerProvider
  EventSubject
  This class encapsulates the String that is used to identify the subject that a listener is interested in.
  NoopEventBridge
  NoopEventBridgeProvider
  NoopEventManager