org.springframework.aop.config
Class ScopedProxyBeanDefinitionDecorator

java.lang.Object
  extended by org.springframework.aop.config.ScopedProxyBeanDefinitionDecorator
All Implemented Interfaces:
BeanDefinitionDecorator

 class ScopedProxyBeanDefinitionDecorator
extends java.lang.Object
implements BeanDefinitionDecorator

BeanDefinitionDecorator responsible for parsing the <aop:scoped-proxy/> tag.

Since:
2.0
Author:
Rob Harrop, Juergen Hoeller, Mark Fisher

Field Summary
private static java.lang.String PROXY_TARGET_CLASS
           
 
Constructor Summary
ScopedProxyBeanDefinitionDecorator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_TARGET_CLASS

private static final java.lang.String PROXY_TARGET_CLASS
See Also:
Constant Field Values
Constructor Detail

ScopedProxyBeanDefinitionDecorator

ScopedProxyBeanDefinitionDecorator()
Method Detail

decorate

public BeanDefinitionHolder decorate(org.w3c.dom.Node node,
                                     BeanDefinitionHolder definition,
                                     ParserContext parserContext)
Description copied from interface: BeanDefinitionDecorator
Parse the specified 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.

Specified by:
decorate in interface BeanDefinitionDecorator