public interface EventPortlet
EventPortletinterface allows portlets receiving events.
Events are part of the action processing and must be finished before the rendering phase can start. Portlets can receive events issued by other portlets or portlet container defined events.
Portlets should declare the events it would like to receive
supported-processing-event tag and events published
supported-publishing-event tag in the portlet
The event model is a loosely coupled model where the wiring between published and receiving events is done at the portal / portlet container level.
void processEvent(EventRequest request, EventResponse response) throws PortletException, IOException
request- the event request
response- the event response
PortletException- if the portlet has problems fulfilling the request
UnavailableException- if the portlet is unavailable to process the event at this time
PortletSecurityException- if the portlet cannot fulfill this request due to security reasons
IOException- if the streaming causes an I/O problem
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.