The Spring Framework

org.springframework.aop.config
Class ScopedProxyBeanDefinitionDecorator

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

 class ScopedProxyBeanDefinitionDecorator
extends Object
implements BeanDefinitionDecorator

BeanDefinitionDecorator responsible for parsing the <aop:scope/> tag.

Since:
2.0
Author:
Rob Harrop, Juergen Hoeller

Constructor Summary
ScopedProxyBeanDefinitionDecorator()
           
 
Method Summary
 BeanDefinitionHolder decorate(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
 

Constructor Detail

ScopedProxyBeanDefinitionDecorator

ScopedProxyBeanDefinitionDecorator()
Method Detail

decorate

public BeanDefinitionHolder decorate(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

The Spring Framework

Copyright © 2002-2006 The Spring Framework.