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.

  • Class
    Description
    Common superclass for events passed from the EventManager to Listeners; encapsulates optional event information.
    A default implementation of EventManager.
    An object that passes events between a local EventManager and some other event dispatch mechanism.
    Defines a factory to dynamically create EventBridge instances.
    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).
     
    This class encapsulates the String that is used to identify the subject that a listener is interested in.