|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.aop.AbstractExpressionSource
public abstract class AbstractExpressionSource
Base class for ExpressionSource
implementations.
Field Summary | |
---|---|
static String |
DEFAULT_ARGUMENT_MAP_VARIABLE_NAME
|
static String |
DEFAULT_EXCEPTION_VARIABLE_NAME
|
static String |
DEFAULT_METHOD_NAME_VARIABLE_NAME
|
static String |
DEFAULT_RETURN_VALUE_VARIABLE_NAME
|
Constructor Summary | |
---|---|
AbstractExpressionSource()
|
Method Summary | |
---|---|
protected String[] |
discoverMethodParameterNames(Method method)
|
String |
getArgumentMapVariableName(Method method)
Returns the variable name to use in the evaluation context for the Map of arguments. |
abstract String[] |
getArgumentVariableNames(Method method)
Returns the variable names to be associated with the intercepted method invocation's argument array. |
abstract String |
getChannelName(Method method)
Returns the channel name to which Messages should be published for this particular method invocation. |
String |
getExceptionVariableName(Method method)
Returns the variable name to use in the evaluation context for any exception thrown from the method invocation. |
abstract Map<String,String> |
getHeaderExpressions(Method method)
Returns the map of expression strings to be evaluated for any headers that should be set on the published Message. |
String |
getMethodNameVariableName(Method method)
Returns the variable name to be associated with the intercepted method's name. |
abstract String |
getPayloadExpression(Method method)
Returns the expression string to be evaluated for creating the Message payload. |
String |
getReturnValueVariableName(Method method)
Returns the variable name to use in the evaluation context for any return value resulting from the method invocation. |
void |
setArgumentMapVariableName(String argumentMapVariableName)
|
void |
setExceptionVariableName(String exceptionVariableName)
|
void |
setMethodNameVariableName(String methodNameVariableName)
|
void |
setReturnValueVariableName(String returnValueVariableName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_METHOD_NAME_VARIABLE_NAME
public static final String DEFAULT_ARGUMENT_MAP_VARIABLE_NAME
public static final String DEFAULT_RETURN_VALUE_VARIABLE_NAME
public static final String DEFAULT_EXCEPTION_VARIABLE_NAME
Constructor Detail |
---|
public AbstractExpressionSource()
Method Detail |
---|
public void setMethodNameVariableName(String methodNameVariableName)
public String getMethodNameVariableName(Method method)
public void setArgumentMapVariableName(String argumentMapVariableName)
public String getArgumentMapVariableName(Method method)
getArgumentVariableNames(Method)
method.
public void setExceptionVariableName(String exceptionVariableName)
public String getExceptionVariableName(Method method)
public void setReturnValueVariableName(String returnValueVariableName)
public String getReturnValueVariableName(Method method)
protected String[] discoverMethodParameterNames(Method method)
public abstract String getPayloadExpression(Method method)
public abstract String[] getArgumentVariableNames(Method method)
public abstract Map<String,String> getHeaderExpressions(Method method)
public abstract String getChannelName(Method method)
|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |