Top Description Fields Constructors Methods
org.springframework.aop.config

pack-priv Class ScopedProxyBeanDefinitionDecorator

extends Object
implements BeanDefinitionDecorator
Class Inheritance
All Implemented Interfaces
org.springframework.beans.factory.xml.BeanDefinitionDecorator
Imports
org.w3c.dom.Element, .Node, org.springframework.aop.scope.ScopedProxyUtils, org.springframework.beans.factory.config.BeanDefinitionHolder, org.springframework.beans.factory.parsing.BeanComponentDefinition, org.springframework.beans.factory.xml.BeanDefinitionDecorator, .ParserContext

BeanDefinitionDecorator responsible for parsing the <aop:scoped-proxy/> tag.
Authors
Rob Harrop, Juergen Hoeller, Mark Fisher
Since
2.0

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public BeanDefinitionHolder
decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext)

Implements org.springframework.beans.factory.xml.BeanDefinitionDecorator.decorate.

Parse the specified Node (either an element or an attribute) and decorate the supplied org.springframework.beans.factory.config.BeanDefinition, returning the decorated definition.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PROXY_TARGET_CLASSback to summary
private static final String PROXY_TARGET_CLASS

Constructor Detail

ScopedProxyBeanDefinitionDecoratorback to summary
pack-priv ScopedProxyBeanDefinitionDecorator()

Method Detail

decorateback to summary
public BeanDefinitionHolder decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext)

Implements org.springframework.beans.factory.xml.BeanDefinitionDecorator.decorate.

Doc from org.springframework.beans.factory.xml.BeanDefinitionDecorator.decorate.

Parse the specified Node (either an element or an attribute) and decorate the supplied org.springframework.beans.factory.config.BeanDefinition, returning the decorated definition.

Implementations may choose to return a completely new definition, which will replace the original definition in the resulting org.springframework.beans.factory.BeanFactory.

The supplied ParserContext can be used to register any additional beans needed to support the main definition.

Annotations
@Override