Class MethodAnnotationPublisherMetadataSource
java.lang.Object
org.springframework.integration.aop.MethodAnnotationPublisherMetadataSource
An
PublisherMetadataSource
implementation that retrieves the channel
name and expression strings from an annotation.- Since:
- 2.0
- Author:
- Mark Fisher, Artem Bilan, Gareth Chapman, Cameron Mayfield, Chengchen Ji, Gary Russell
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final ExpressionParser
static final String
static final Expression
static final String
-
Constructor Summary
ConstructorDescriptionMethodAnnotationPublisherMetadataSource
(Set<Class<? extends Annotation>> annotationTypes) -
Method Summary
Modifier and TypeMethodDescriptiongetChannelName
(Method method) getExpressionForPayload
(Method method) getExpressionsForHeaders
(Method method) void
setChannelAttributeName
(String channelAttributeName)
-
Field Details
-
METHOD_NAME_VARIABLE_NAME
- See Also:
-
ARGUMENT_MAP_VARIABLE_NAME
- See Also:
-
RETURN_VALUE_VARIABLE_NAME
- See Also:
-
EXCEPTION_VARIABLE_NAME
- See Also:
-
EXPRESSION_PARSER
-
RETURN_VALUE_EXPRESSION
-
-
Constructor Details
-
MethodAnnotationPublisherMetadataSource
public MethodAnnotationPublisherMetadataSource() -
MethodAnnotationPublisherMetadataSource
-
-
Method Details
-
setChannelAttributeName
-
getChannelName
-
getExpressionForPayload
-
getExpressionsForHeaders
-