Here is the EventPhaseSession interface:
| public interface EventPhaseSession
| {
|
| /**
| * Queue an event for consumption. The queue is a FIFO queue.
| *
| * @param event an event
| * @throws IllegalArgumentException if the event is null
| * @throws IllegalStateException if an event cannot be published
| */
| void queueEvent(Event event) throws IllegalArgumentException,
IllegalStateException;
|
| /**
| * Stop processing of all events and returns from the controller.
| *
| * @throws IllegalStateException if the session cannot be interrupted.
| */
| void interrupt() throws IllegalStateException;
|
| }
|
It is usable really only during the routing phase and the event controller context can use
it to queue events.
the interrupt method is used by the controller context can be used to interrupt the event
phase (for instance a portal logout event could do that).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133025#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...