Package jakarta.portlet
Interface EventPortlet
-
- All Known Implementing Classes:
GenericPortlet
public interface EventPortletTheEventPortletinterface 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 via the
supported-processing-eventtag and events published via thesupported-publishing-eventtag in the portlet deployment descriptor.The event model is a loosely coupled model where the wiring between published and receiving events is done at the portal / portlet container level.
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessEvent(EventRequest request, EventResponse response)Called by the portlet container requesting the portlet to process a specific event.
-
-
-
Method Detail
-
processEvent
void processEvent(EventRequest request, EventResponse response) throws PortletException, IOException
Called by the portlet container requesting the portlet to process a specific event.- Parameters:
request- the event requestresponse- the event response- Throws:
PortletException- if the portlet has problems fulfilling the requestUnavailableException- if the portlet is unavailable to process the event at this timePortletSecurityException- if the portlet cannot fulfill this request due to security reasonsIOException- if the streaming causes an I/O problem
-
-