Package jakarta.portlet
Interface Event
-
public interface EventTheEventinterface represents an event that the portlet has received in the event processing phase.The
Eventinterface encapsulates the event name and event payload, it does not represent the event object itself.The portlet must define the events it is able to receive in the portlet deployment descriptor with the
supported-processing-event.- Since:
- 2.0
- See Also:
EventPortlet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Get the local part of the event name.QNamegetQName()Get the event QName.SerializablegetValue()Get the event payload.
-
-
-
Method Detail
-
getQName
QName getQName()
Get the event QName.- Returns:
- the QName of the event, never
null.
-
getName
String getName()
Get the local part of the event name.- Returns:
- the local part of the event, never
null.
-
getValue
Serializable getValue()
Get the event payload.- Returns:
- event payload, must be serializable.
May return
nullif this event has no payload.
-
-