Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.cayenne.event.EventSubject

Packages that use EventSubject
org.apache.cayenne | Contains persistence APIs directly accessible by users.
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.event | Contains classes that make up Cayenne generic event dispatch mechanism.
org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.

Uses of EventSubject in org.apache.cayenne

Fields in org.apache.cayenne declared as EventSubject
`static EventSubject` | `DataChannel.GRAPH_CHANGED_SUBJECT`
`static EventSubject` | `DataChannel.GRAPH_FLUSHED_SUBJECT`
`static EventSubject` | `DataChannel.GRAPH_ROLLEDBACK_SUBJECT`

Uses of EventSubject in org.apache.cayenne.access

Fields in org.apache.cayenne.access declared as EventSubject
`protected EventSubject` | `DataRowStore.eventSubject`

Methods in org.apache.cayenne.access that return EventSubject
`EventSubject` | `DataRowStore.getSnapshotEventSubject()` Returns EventSubject used by this SnapshotCache to notify of snapshot changes.

Uses of EventSubject in org.apache.cayenne.event

Fields in org.apache.cayenne.event declared as EventSubject
`protected EventSubject` | `CayenneEvent.subject`

Fields in org.apache.cayenne.event with type parameters of type EventSubject
`protected Collection<EventSubject>` | `EventBridge.localSubjects`
`protected Map<EventSubject,org.apache.cayenne.event.DispatchQueue>` | `EventManager.subjects`

Methods in org.apache.cayenne.event that return EventSubject
`EventSubject` | `CayenneEvent.getSubject()`
`static EventSubject` | `EventSubject.getSubject(Class<?> subjectOwner, String subjectName)` Returns an event subject identified by the given owner and subject name.

Methods in org.apache.cayenne.event that return types with arguments of type EventSubject
`Collection<EventSubject>` | `EventBridge.getLocalSubjects()` Returns a Collection of local EventSubjects.

Methods in org.apache.cayenne.event with parameters of type EventSubject
`void` | `EventManager.addListener(Object listener, String methodName, Class<?> eventParameterClass, EventSubject subject)` Register an `EventListener` for events sent by any sender.
`void` | `EventManager.addListener(Object listener, String methodName, Class<?> eventParameterClass, EventSubject subject, Object sender)` Register an `EventListener` for events sent by a specific sender.
`protected void` | `EventManager.addListener(Object listener, String methodName, Class<?> eventParameterClass, EventSubject subject, Object sender, boolean blocking)`
`void` | `EventManager.addNonBlockingListener(Object listener, String methodName, Class<?> eventParameterClass, EventSubject subject)`
`void` | `EventManager.addNonBlockingListener(Object listener, String methodName, Class<?> eventParameterClass, EventSubject subject, Object sender)`
`static String` | `EventBridge.convertToExternalSubject(EventSubject localSubject)` A utility method that performs consistent translation from an EventSubject to a String that can be used by external transport as subject for distributed communications.
`void` | `EventManager.postEvent(EventObject event, EventSubject subject)` Sends an event to all registered objects about a particular subject.
`void` | `EventManager.postNonBlockingEvent(EventObject event, EventSubject subject)` Sends an event to all registered objects about a particular subject.
`boolean` | `EventManager.removeAllListeners(EventSubject subject)` Removes all listeners for a given subject.
`boolean` | `EventManager.removeListener(Object listener, EventSubject subject)` Unregister the specified listener for the events about the given subject.
`boolean` | `EventManager.removeListener(Object listener, EventSubject subject, Object sender)` Unregister the specified listener for the events about the given subject and the given sender.
`void` | `CayenneEvent.setSubject(EventSubject subject)`

Method parameters in org.apache.cayenne.event with type arguments of type EventSubject
`EventBridge` | `EventBridgeFactory.createEventBridge(Collection<EventSubject> localSubjects, String externalSubject, Map<String,Object> properties)` Creates an EventBridge with the specified parameters.
`EventBridge` | `JavaGroupsBridgeFactory.createEventBridge(Collection<EventSubject> localSubjects, String externalSubject, Map<String,Object> properties)` Creates a JavaGroupsBridge instance.
`EventBridge` | `JMSBridgeFactory.createEventBridge(Collection<EventSubject> localSubjects, String externalSubject, Map<String,Object> properties)`
`EventBridge` | `XMPPBridgeFactory.createEventBridge(Collection<EventSubject> localSubjects, String externalSubject, Map<String,Object> properties)`

Constructors in org.apache.cayenne.event with parameters of type EventSubject
`EventBridge(EventSubject localSubject, String externalSubject)` Creates an EventBridge with a single local subject.
`JavaGroupsBridge(EventSubject localSubject, String externalSubject)` Creates new instance of JavaGroupsBridge.
`JMSBridge(EventSubject localSubject, String externalSubject)`
`XMPPBridge(EventSubject localSubject, String externalSubject)` Creates an XMPPBridge.

Constructor parameters in org.apache.cayenne.event with type arguments of type EventSubject
`EventBridge(Collection<EventSubject> localSubjects, String externalSubject)` Creates an EventBridge with multiple local subjects and a single external subject.
`JavaGroupsBridge(Collection<EventSubject> localSubjects, String externalSubject)`
`JMSBridge(Collection<EventSubject> localSubjects, String externalSubject)`
`XMPPBridge(Collection<EventSubject> localSubjects, String externalSubject)` Creates an XMPPBridge.

Uses of EventSubject in org.apache.cayenne.map

Fields in org.apache.cayenne.map declared as EventSubject
`static EventSubject` | `DbRelationship.PROPERTY_DID_CHANGE` Deprecated. since 3.0 - unused

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.