gov.aps.jca.event
Class DirectEventDispatcher
java.lang.Object
|
+--gov.aps.jca.event.AbstractEventDispatcher
|
+--gov.aps.jca.event.DirectEventDispatcher
- All Implemented Interfaces:
- EventDispatcher
- public class DirectEventDispatcher
- extends AbstractEventDispatcher
This EventDispatcher will forward all events directly to the listeners.
The listeners will be called by the underlying JCA callback's thread.
JCA methods call (Context, Channel, Monitor) are not allowed within the
listener's callback methods and could result in an unpredictable behavior.
Listener's method should delegate all JCA calls to another thread.
- Version:
- 1.0
- Author:
- Eric Boucher
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectEventDispatcher
public DirectEventDispatcher()
dispatch
public void dispatch(ContextMessageEvent ev,
java.util.List listeners)
dispatch
public void dispatch(ContextExceptionEvent ev,
java.util.List listeners)
dispatch
public void dispatch(ConnectionEvent ev,
java.util.List listeners)
dispatch
public void dispatch(AccessRightsEvent ev,
java.util.List listeners)
dispatch
public void dispatch(MonitorEvent ev,
java.util.List listeners)
dispatch
public void dispatch(GetEvent ev,
java.util.List listeners)
dispatch
public void dispatch(PutEvent ev,
java.util.List listeners)