@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface ListenerMethod
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
Name of the listener method for which this annotation applies.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
defaultReturn
If
returnType() is not void this value is returned when no binding exists. |
java.lang.String[] |
parameters
List of method parameters.
|
java.lang.String |
returnType
Primitive or fully-qualified return type of the listener method.
|
public abstract java.lang.String name
public abstract java.lang.String[] parameters
public abstract java.lang.String returnType
void.public abstract java.lang.String defaultReturn
returnType() is not void this value is returned when no binding exists.