org.springframework.integration.config.xml
Class HeaderEnricherParserSupport
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractTransformerParser
org.springframework.integration.config.xml.HeaderEnricherParserSupport
- All Implemented Interfaces:
- BeanDefinitionParser
- Direct Known Subclasses:
- JmsHeaderEnricherParser, MailHeaderEnricherParser, StandardHeaderEnricherParser, WebServiceHeaderEnricherParser, XmppHeaderEnricherParser
public abstract class HeaderEnricherParserSupport
- extends AbstractTransformerParser
Base support class for 'header-enricher' parsers.
- Since:
- 2.0
Method Summary |
protected void |
addElementToHeaderMapping(java.lang.String elementName,
java.lang.String headerName)
|
protected void |
addElementToHeaderMapping(java.lang.String elementName,
java.lang.String headerName,
java.lang.Class<?> headerType)
|
protected java.lang.String |
getTransformerClassName()
|
protected void |
parseTransformer(org.w3c.dom.Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder)
|
protected void |
postProcessHeaderEnricher(BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
ParserContext parserContext)
Subclasses may override this method to provide any additional processing. |
protected void |
processHeaders(org.w3c.dom.Element element,
ManagedMap<java.lang.String,java.lang.Object> headers,
ParserContext parserContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderEnricherParserSupport
public HeaderEnricherParserSupport()
getTransformerClassName
protected final java.lang.String getTransformerClassName()
- Specified by:
getTransformerClassName
in class AbstractTransformerParser
addElementToHeaderMapping
protected final void addElementToHeaderMapping(java.lang.String elementName,
java.lang.String headerName)
addElementToHeaderMapping
protected final void addElementToHeaderMapping(java.lang.String elementName,
java.lang.String headerName,
java.lang.Class<?> headerType)
parseTransformer
protected void parseTransformer(org.w3c.dom.Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder)
- Specified by:
parseTransformer
in class AbstractTransformerParser
processHeaders
protected void processHeaders(org.w3c.dom.Element element,
ManagedMap<java.lang.String,java.lang.Object> headers,
ParserContext parserContext)
postProcessHeaderEnricher
protected void postProcessHeaderEnricher(BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
ParserContext parserContext)
- Subclasses may override this method to provide any additional processing.