@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface ListenerClass
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
setter
Name of the setter method on the
target type for the listener. |
java.lang.String |
targetType |
java.lang.String |
type
Fully-qualified class name of the listener type.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<? extends java.lang.Enum<?>> |
callbacks
Enum which declares the listener callback methods.
|
ListenerMethod[] |
method
Method data for single-method listener callbacks.
|
public abstract java.lang.String setter
target type for the listener.public abstract java.lang.Class<? extends java.lang.Enum<?>> callbacks
method().public abstract ListenerMethod[] method
callbacks()
and an error to specify more than one value.