Top Description Methods
javax.portlet

public Interface Event


The Event interface represents an event that the portlet has received in the event processing phase.

The Event interface 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

Modifier and TypeMethod and Description
public String

Returns:

the local part of the event, never null.
getName
()

Get the local part of the event name.

public QName

Returns:

the QName of the event, never null.
getQName
()

Get the event QName.

public Serializable

Returns:

event payload, must be serializable. May return null if this event has no payload.
getValue
()

Get the event payload.

Method Detail

getNameback to summary
public String getName()

Get the local part of the event name.

Returns:String

the local part of the event, never null.

getQNameback to summary
public QName getQName()

Get the event QName.

Returns:QName

the QName of the event, never null.

getValueback to summary
public Serializable getValue()

Get the event payload.

Returns:Serializable

event payload, must be serializable. May return null if this event has no payload.