Package jakarta.portlet
Annotation Type ProcessEvent
-
@Target(METHOD) @Retention(RUNTIME) public @interface ProcessEvent
Annotation for marking a method for handling a specific event. TheGenericPortlettries to dispatch to methods annotated with the tag@ProcessEventfor any received event.- Since:
- 2.0
-
-
Element Detail
-
qname
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 thejavax.xml.namespace.QName.toString()method).- Returns:
- event QName.
- Default:
- ""
-
-
-
name
String name
Local part of the event name. The namespace for the events is either taken from thedefault-event-namespaceelement in the portlet deployment descriptor, or if this element is not provided the XML default namespace XMLConstants.NULL_NS_URI is used.- Returns:
- local part of the event name.
- Default:
- ""
-
-