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,RSocketInboundGatewayParser,TcpInboundGatewayParser,WebServiceInboundGatewayParser
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) protected voiddoPostProcess(BeanDefinitionBuilder builder, Element element) Subclasses may add to the bean definition by overriding this method.protected booleanisEligibleAttribute(String attributeName) protected final voidpostProcess(BeanDefinitionBuilder builder, Element element) protected StringresolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext) Methods inherited from class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
extractPropertyName, isEligibleAttributeMethods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getBeanClassName, getParentName, parseInternalMethods 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:
resolveIdin classAbstractBeanDefinitionParser- Throws:
BeanDefinitionStoreException
-
isEligibleAttribute
- Overrides:
isEligibleAttributein classAbstractSimpleBeanDefinitionParser
-
doParse
- Overrides:
doParsein classAbstractSimpleBeanDefinitionParser
-
postProcess
- Overrides:
postProcessin classAbstractSimpleBeanDefinitionParser
-
doPostProcess
Subclasses may add to the bean definition by overriding this method.- Parameters:
builder- The builder.element- The element.
-