|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.xml.AbstractBeanDefinitionParser org.springframework.integration.config.xml.AbstractChannelAdapterParser org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
public abstract class AbstractOutboundChannelAdapterParser
Base class for outbound Channel Adapter parsers.
If this component is defined as the top-level element in the Spring application context it will produce
an AbstractEndpoint
depending on the channel type.
If this component is defined as nested element (e.g., inside of the chain) it will produce
a MessageHandler
.
Field Summary |
---|
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
---|
ID_ATTRIBUTE, NAME_ATTRIBUTE |
Constructor Summary | |
---|---|
AbstractOutboundChannelAdapterParser()
|
Method Summary | |
---|---|
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.String channelName)
Subclasses must implement this method to parse the adapter element. |
protected org.springframework.beans.factory.parsing.BeanComponentDefinition |
doParseAndRegisterConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Override this method to control the registration process and return the bean name. |
protected boolean |
isUsingReplyProducer()
Override this to signal that this channel adapter is actually using a AbstractReplyProducingMessageHandler while it is not possible for this parser to determine that because, say, a FactoryBean is being used. |
protected java.lang.String |
parseAndRegisterConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Deprecated. Use doParseAndRegisterConsumer(Element, ParserContext) |
protected abstract org.springframework.beans.factory.support.AbstractBeanDefinition |
parseConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Override this method to return the BeanDefinition for the MessageConsumer. |
Methods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser |
---|
parseInternal, resolveId |
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 |
Constructor Detail |
---|
public AbstractOutboundChannelAdapterParser()
Method Detail |
---|
protected org.springframework.beans.factory.support.AbstractBeanDefinition doParse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, java.lang.String channelName)
AbstractChannelAdapterParser
doParse
in class AbstractChannelAdapterParser
@Deprecated protected java.lang.String parseAndRegisterConsumer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
doParseAndRegisterConsumer(Element, ParserContext)
parseConsumer(Element, ParserContext)
instead.
protected org.springframework.beans.factory.parsing.BeanComponentDefinition doParseAndRegisterConsumer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
parseConsumer(Element, ParserContext)
instead.
protected abstract org.springframework.beans.factory.support.AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
protected boolean isUsingReplyProducer()
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |