javax.portlet
Interface Event


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
 String getName()
          Get the local part of the event name.
 QName getQName()
          Get the event QName.
 Serializable getValue()
          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 null if this event has no payload.


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.