Top Description Methods
javax.portlet

public @Interface ProcessEvent

extends Annotation
Annotations
@Target:METHOD
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .Target

Annotation for marking a method for handling a specific event. The GenericPortlet tries to dispatch to methods annotated with the tag @ProcessEvent for any received event.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

local part of the event name.
name
()

Local part of the event name.

public String

Returns:

event QName.
qname
()

Event QName.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

Local part of the event name. The namespace for the events is either taken from the default-event-namespace element in the portlet deployment descriptor, or if this element is not provided the XML default namespace XMLConstants.NULL_NS_URI is used.

Returns:String

local part of the event name.

qnameback to summary
public String qname()

Event QName. Must be in the format:
"{" + Namespace URI + "}" + local part.
If the Namespace URI equals(XMLConstants.NULL_NS_URI), only the local part is used (like the javax.xml.namespace.QName.toString() method).

Returns:String

event QName.