|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface MetaData
Annotation that indicates the parameter needs to be resolved to the value of the Message MetaData stored under the
given key. If required, and no such MetaData value is available, the handler will not be
invoked.
| Required Element Summary | |
|---|---|
String |
value
The key of the MetaData field to inject. |
| Optional Element Summary | |
|---|---|
boolean |
required
Indicates whether the MetaData must be available in order for the Message handler method to be invoked. |
| Element Detail |
|---|
public abstract String value
public abstract boolean required
false, in which case null is injected as parameter.
Note that if the annotated parameter is a primitive type, the required property will always be
true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||