|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.aop.MethodNameMappingExpressionSource
public class MethodNameMappingExpressionSource
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ARGUMENT_MAP_VARIABLE_NAME
|
static java.lang.String |
DEFAULT_EXCEPTION_VARIABLE_NAME
|
static java.lang.String |
DEFAULT_METHOD_NAME_VARIABLE_NAME
|
static java.lang.String |
DEFAULT_RETURN_VALUE_VARIABLE_NAME
|
Constructor Summary | |
---|---|
MethodNameMappingExpressionSource(java.util.Map<java.lang.String,java.lang.String> payloadExpressionMap)
|
Method Summary | |
---|---|
java.lang.String |
getArgumentMapVariableName(java.lang.reflect.Method method)
Returns the variable name to use in the evaluation context for the Map of arguments. |
java.lang.String[] |
getArgumentVariableNames(java.lang.reflect.Method method)
Returns the variable names to be associated with the intercepted method invocation's argument array. |
java.lang.String |
getChannelName(java.lang.reflect.Method method)
Returns the channel name to which Messages should be published for this particular method invocation. |
java.lang.String |
getExceptionVariableName(java.lang.reflect.Method method)
Returns the variable name to use in the evaluation context for any exception thrown from the method invocation. |
java.lang.String[] |
getHeaderExpressions(java.lang.reflect.Method method)
Returns the array of expression strings to be evaluated for any headers that should be set on the published Message. |
java.lang.String |
getMethodNameVariableName(java.lang.reflect.Method method)
Returns the variable name to be associated with the intercepted method's name. |
java.lang.String |
getPayloadExpression(java.lang.reflect.Method method)
Returns the expression string to be evaluated for creating the Message payload. |
java.lang.String |
getReturnValueVariableName(java.lang.reflect.Method method)
Returns the variable name to use in the evaluation context for any return value resulting from the method invocation. |
void |
setArgumentMapVariableName(java.lang.String argumentMapVariableName)
|
void |
setArgumentVariableNameMap(java.util.Map<java.lang.String,java.lang.String[]> argumentVariableNameMap)
|
void |
setChannelMap(java.util.Map<java.lang.String,java.lang.String> channelMap)
|
void |
setExceptionVariableName(java.lang.String exceptionVariableName)
|
void |
setHeaderExpressionMap(java.util.Map<java.lang.String,java.lang.String[]> headerExpressionMap)
|
void |
setMethodNameVariableName(java.lang.String methodNameVariableName)
|
void |
setReturnValueVariableName(java.lang.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 java.lang.String DEFAULT_METHOD_NAME_VARIABLE_NAME
public static final java.lang.String DEFAULT_ARGUMENT_MAP_VARIABLE_NAME
public static final java.lang.String DEFAULT_RETURN_VALUE_VARIABLE_NAME
public static final java.lang.String DEFAULT_EXCEPTION_VARIABLE_NAME
Constructor Detail |
---|
public MethodNameMappingExpressionSource(java.util.Map<java.lang.String,java.lang.String> payloadExpressionMap)
Method Detail |
---|
public void setMethodNameVariableName(java.lang.String methodNameVariableName)
public java.lang.String getMethodNameVariableName(java.lang.reflect.Method method)
public void setArgumentMapVariableName(java.lang.String argumentMapVariableName)
public java.lang.String getArgumentMapVariableName(java.lang.reflect.Method method)
#getArgumentNames(Method)
method.
public void setExceptionVariableName(java.lang.String exceptionVariableName)
public java.lang.String getExceptionVariableName(java.lang.reflect.Method method)
public void setReturnValueVariableName(java.lang.String returnValueVariableName)
public java.lang.String getReturnValueVariableName(java.lang.reflect.Method method)
public void setArgumentVariableNameMap(java.util.Map<java.lang.String,java.lang.String[]> argumentVariableNameMap)
public void setHeaderExpressionMap(java.util.Map<java.lang.String,java.lang.String[]> headerExpressionMap)
public void setChannelMap(java.util.Map<java.lang.String,java.lang.String> channelMap)
public java.lang.String[] getArgumentVariableNames(java.lang.reflect.Method method)
public java.lang.String getPayloadExpression(java.lang.reflect.Method method)
public java.lang.String[] getHeaderExpressions(java.lang.reflect.Method method)
public java.lang.String getChannelName(java.lang.reflect.Method method)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |