Package javax.portlet

Annotation Type ProcessEvent


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ProcessEvent
    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
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name
      Local part of the event name.
      java.lang.String qname
      Event QName.
    • Element Detail

      • qname

        java.lang.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:
        event QName.
        Default:
        ""
      • name

        java.lang.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:
        local part of the event name.
        Default:
        ""