EventPortlet interface 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-event tag and events published
via the supported-publishing-event tag 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.
| Modifier and Type | Method and Description |
|---|---|
| public void | processEvent(EventRequest
the event request request, EventResponse the event response response)Called by the portlet container requesting the portlet to process a specific event. |
| processEvent | back to summary |
|---|---|
| public void processEvent(EventRequest request, EventResponse response) throws PortletException, IOException Called by the portlet container requesting the portlet to process a specific event.
| |