@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface EventDefinition
Modifier and Type | Required Element and Description |
---|---|
PortletQName |
qname
The event Qname.
|
Modifier and Type | Optional Element and Description |
---|---|
PortletQName[] |
alias
The qualified name aliases for this event.
|
LocaleString[] |
description
Provides locale-specific text describing the event for use by the portal application or by tools.
|
LocaleString[] |
displayName
The display-name type contains a locale-specific short name that is intended to be displayed by tools.
|
Class<?> |
payloadType
The event payload type associated with the specified QName.
|
public abstract PortletQName qname
The local part of the QName should be a non-empty String. The local part is used as the event name in the portlet API event handling methods.
The event qname must be unique within the portlet application.
public abstract Class<?> payloadType
The default value void.class
indicates that the event has no payload.
Event
,
StateAwareResponse.setEvent(javax.xml.namespace.QName, java.io.Serializable)
,
StateAwareResponse.setEvent(String, java.io.Serializable)
public abstract LocaleString[] description
public abstract LocaleString[] displayName
public abstract PortletQName[] alias
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.