@Retention(value=RUNTIME) @Target(value=METHOD) public @interface EventMethod
    public void <methodName>(EventRequest, EventResponse)
 
where the method name can be freely selected.
 The method declaration may contain a throws clause. Exceptions declared in the 
 throws clause should be of type PortletException or
 IOException. 
 Checked exceptions of any other type will be caught, wrapped with a PortletException, 
 and rethrown.
 
processEvent| Modifier and Type | Required Element and Description | 
|---|---|
| String | portletName
 The portlet name for the annotated method. | 
| PortletQName[] | processingEvents
 The processing event QName definitions supported by this method. | 
| Modifier and Type | Optional Element and Description | 
|---|---|
| PortletQName[] | publishingEvents
 The QName definitions of the events published by this method. | 
public abstract String portletName
public abstract PortletQName[] processingEvents
At least one processing event QName must be specified.
EventDefinition, 
PortletQNamepublic abstract PortletQName[] publishingEvents
EventDefinition, 
PortletQNameJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.