Class SecuredChannelsParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.security.config.SecuredChannelsParser
- All Implemented Interfaces:
BeanDefinitionParser
public class SecuredChannelsParser extends AbstractSingleBeanDefinitionParser
Creates a
ChannelSecurityInterceptor
to control send and receive access, and creates a bean post-processor to apply the
interceptor to MessageChannel
s
whose names match the specified patterns.- Author:
- Jonas Partner, Mark Fisher, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description SecuredChannelsParser()
-
Method Summary
Modifier and Type Method Description protected void
doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected Class<?>
getBeanClass(Element element)
protected boolean
shouldGenerateId()
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
SecuredChannelsParser
public SecuredChannelsParser()
-
-
Method Details
-
getBeanClass
- Overrides:
getBeanClass
in classAbstractSingleBeanDefinitionParser
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-