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,
Class<?> 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, resolveId
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
protected final String getTransformerClassName()
getTransformerClassName
in class AbstractTransformerParser
protected final void addElementToHeaderMapping(String elementName, String headerName)
protected final void addElementToHeaderMapping(String elementName, String headerName, Class<?> 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.