com.ibm.wps.portlet.event
Interface EventPhaseListener

All Known Implementing Classes:
PortletWrapper, com.ibm.wps.pb.wrapper.PortletWrapperBase

Deprecated. since 6.0. Support of the IBM portlet API may be removed in a future release of WebSphere Portal. Use of the Java Portlet API (javax.portlet) is recommended instead.

public interface EventPhaseListener

Portlets can implement the EventPhaseListener interface to execute code before any or after all events have been received. This a and all other event listener interfaces are only available for portlets using the IBM Portlet API, which extend the Portlet class

To receive events, any of the following listener interfaces has to be implemented: MessageListener, ActionListener, PortletApplicationSettingsAttributesListener, PortletSettingsAttributesListener, WindowListener, PortletPageListener, PortletSessionListener, PortletTitleListener.

Since:
5.0
Note:
This interface is designed to be implemented by clients.

Method Summary
 void beginEventPhase(org.apache.jetspeed.portlet.PortletRequest portletRequest)
          Deprecated. Invoked on all portlets implementing this interface before the event phase has begun, i.e., before any of the methods of the listener interfaces, e.g., ActionListener.actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent), have been executed.
 void endEventPhase(org.apache.jetspeed.portlet.PortletRequest portletRequest)
          Deprecated. Invoked on all portlets implementing this interface after the event phase has completed, i.e., after all methods of the listener interfaces, e.g., ActionListener.actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent), have been executed.
 

Method Detail

beginEventPhase

void beginEventPhase(org.apache.jetspeed.portlet.PortletRequest portletRequest)
Deprecated. 
Invoked on all portlets implementing this interface before the event phase has begun, i.e., before any of the methods of the listener interfaces, e.g., ActionListener.actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent), have been executed.

Parameters:
portletRequest - the PortletRequest object that is sent to the portlet

endEventPhase

void endEventPhase(org.apache.jetspeed.portlet.PortletRequest portletRequest)
Deprecated. 
Invoked on all portlets implementing this interface after the event phase has completed, i.e., after all methods of the listener interfaces, e.g., ActionListener.actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent), have been executed.

Parameters:
portletRequest - the PortletRequest object that is sent to the portlet