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:
- org.springframework.beans.factory.xml.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
- Author:
- Mark Fisher, Oleg Zhurakousky, Artem Bilan
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
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,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
|
protected void |
postProcessHeaderEnricher(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Subclasses may override this method to provide any additional processing. |
protected void |
processHeaders(org.w3c.dom.Element element,
org.springframework.beans.factory.support.ManagedMap<java.lang.String,java.lang.Object> headers,
org.springframework.beans.factory.xml.ParserContext parserContext)
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
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,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Specified by:
parseTransformer
in class AbstractTransformerParser
processHeaders
protected void processHeaders(org.w3c.dom.Element element,
org.springframework.beans.factory.support.ManagedMap<java.lang.String,java.lang.Object> headers,
org.springframework.beans.factory.xml.ParserContext parserContext)
postProcessHeaderEnricher
protected void postProcessHeaderEnricher(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
- Subclasses may override this method to provide any additional processing.