class ScopedProxyBeanDefinitionDecorator extends java.lang.Object implements BeanDefinitionDecorator
BeanDefinitionDecorator
responsible for parsing the
<aop:scoped-proxy/>
tag.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
PROXY_TARGET_CLASS |
Constructor and Description |
---|
ScopedProxyBeanDefinitionDecorator() |
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
decorate(org.w3c.dom.Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node (either an element or an attribute) and decorate
the supplied BeanDefinition ,
returning the decorated definition. |
private static final java.lang.String PROXY_TARGET_CLASS
public BeanDefinitionHolder decorate(org.w3c.dom.Node node, BeanDefinitionHolder definition, ParserContext parserContext)
BeanDefinitionDecorator
Node
(either an element or an attribute) and decorate
the supplied BeanDefinition
,
returning the decorated definition.
Implementations may choose to return a completely new definition, which will
replace the original definition in the resulting
BeanFactory
.
The supplied ParserContext
can be used to register any additional
beans needed to support the main definition.
decorate
in interface BeanDefinitionDecorator