org.jboss.portal.portlet.controller.event
Interface EventPhaseContext


public interface EventPhaseContext

Version:
$Revision: 630 $
Author:
Julien Viet

Method Summary
 void interrupt()
          Stop processing of all events and returns from the controller.
 void queueEvent(PortletWindowEvent event)
          Queue an event for consumption.
 

Method Detail

queueEvent

void queueEvent(PortletWindowEvent event)
                throws java.lang.IllegalArgumentException,
                       java.lang.IllegalStateException
Queue an event for consumption. The queue is a FIFO queue.

Parameters:
event - an event
Throws:
java.lang.IllegalArgumentException - if the event is null
java.lang.IllegalStateException - if an event cannot be published

interrupt

void interrupt()
               throws java.lang.IllegalStateException
Stop processing of all events and returns from the controller.

Throws:
java.lang.IllegalStateException - if the session cannot be interrupted.


Copyright © 2008. All Rights Reserved.