@Retention(value=RUNTIME) @Target(value=TYPE) public @interface PortletListener
The annotated method must implement the PortletListener
interface.
PortletURLGenerationListener
Modifier and Type | Optional Element and Description |
---|---|
LocaleString[] |
description
The portlet listener description
providing locale-specific text describing the portlet listener for use by the portal application or by tools.
|
LocaleString[] |
displayName
The display-name type contains a language-specific short name that is intended to be displayed by tools.
|
String |
listenerName
The listener name.
|
int |
ordinal
The ordinal number for this annotated method.
|
public abstract String listenerName
The listener name is not required. If a listener name is provided, the listener configuration may be addressed through the listener name in the portlet deployment descriptor to modify or remove the listener.
public abstract int ordinal
The ordinal number determines the order of execution if multiple methods are annotated for a given URL type. Annotated methods with a lower ordinal number are executed before methods with a higher ordinal number.
public abstract LocaleString[] displayName
public abstract LocaleString[] description
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.