public abstract class HeaderEnricherParserSupport extends AbstractTransformerParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTE
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
HeaderEnricherParserSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
addElementToHeaderMapping(String elementName,
String headerName) |
protected void |
addElementToHeaderMapping(String elementName,
String headerName,
String headerType) |
protected String |
getTransformerClassName() |
protected void |
parseTransformer(Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder) |
protected void |
postProcessHeaderEnricher(BeanDefinitionBuilder builder,
Element element,
ParserContext parserContext)
Subclasses may override this method to provide any additional processing.
|
protected void |
processHeaders(Element element,
ManagedMap<String,Object> headers,
ParserContext parserContext) |
parseHandler
getInputChannelAttributeName, parseInternal, replyChannelInChainAllowed, resolveId
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
protected final String getTransformerClassName()
getTransformerClassName
in class AbstractTransformerParser
protected final void addElementToHeaderMapping(String elementName, String headerName)
protected final void addElementToHeaderMapping(String elementName, String headerName, String headerType)
protected void parseTransformer(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
parseTransformer
in class AbstractTransformerParser
protected void processHeaders(Element element, ManagedMap<String,Object> headers, ParserContext parserContext)
protected void postProcessHeaderEnricher(BeanDefinitionBuilder builder, Element element, ParserContext parserContext)
builder
- The builder.element
- The element.parserContext
- The parser context.