Class AbstractInboundGatewayParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
org.springframework.integration.config.xml.AbstractInboundGatewayParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
KafkaInboundGatewayParser
,RedisQueueInboundGatewayParser
,RmiInboundGatewayParser
,RSocketInboundGatewayParser
,TcpInboundGatewayParser
,WebServiceInboundGatewayParser
public abstract class AbstractInboundGatewayParser extends AbstractSimpleBeanDefinitionParser
Base class for inbound gateway parsers.
- Author:
- Mark Fisher, Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description AbstractInboundGatewayParser()
-
Method Summary
Modifier and Type Method Description protected void
doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected void
doPostProcess(BeanDefinitionBuilder builder, Element element)
Subclasses may add to the bean definition by overriding this method.protected boolean
isEligibleAttribute(String attributeName)
protected void
postProcess(BeanDefinitionBuilder builder, Element element)
protected String
resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
Methods inherited from class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
extractPropertyName, isEligibleAttribute
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
AbstractInboundGatewayParser
public AbstractInboundGatewayParser()
-
-
Method Details
-
resolveId
protected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException- Overrides:
resolveId
in classAbstractBeanDefinitionParser
- Throws:
BeanDefinitionStoreException
-
isEligibleAttribute
- Overrides:
isEligibleAttribute
in classAbstractSimpleBeanDefinitionParser
-
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)- Overrides:
doParse
in classAbstractSimpleBeanDefinitionParser
-
postProcess
- Overrides:
postProcess
in classAbstractSimpleBeanDefinitionParser
-
doPostProcess
Subclasses may add to the bean definition by overriding this method.- Parameters:
builder
- The builder.element
- The element.
-