|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface ExpressionBinding
Annotation that provides the variable names to use when constructing the evaluation context for a MessagePublishingInterceptor.
Optional Element Summary | |
---|---|
java.lang.String |
argumentMapVariableName
Name of the variable in the context that refers to the Map of arguments. |
java.lang.String |
argumentVariableNames
Names of the arguments as a comma-separated list. |
java.lang.String |
exceptionVariableName
Name of the variable in the context that refers to any exception thrown by the method invocation that is being intercepted. |
java.lang.String |
methodNameVariableName
Name of the variable in the context that refers to the method name. |
java.lang.String |
returnValueVariableName
Name of the variable in the context that refers to the return value, if any. |
public abstract java.lang.String methodNameVariableName
The default is "method".
public abstract java.lang.String argumentVariableNames
public abstract java.lang.String argumentMapVariableName
The default is "args".
public abstract java.lang.String returnValueVariableName
The default is "return".
public abstract java.lang.String exceptionVariableName
The default is "exception".
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |