Top Description Constructors Methods
org.springframework.aop.config

pack-priv Class AspectJAutoProxyBeanDefinitionParser

extends Object
implements BeanDefinitionParser
Class Inheritance
All Implemented Interfaces
org.springframework.beans.factory.xml.BeanDefinitionParser
Imports
org.w3c.dom.Element, .Node, .NodeList, org.springframework.beans.factory.config.BeanDefinition, .TypedStringValue, org.springframework.beans.factory.support.ManagedList, org.springframework.beans.factory.xml.BeanDefinitionParser, .ParserContext, org.springframework.lang.Nullable

BeanDefinitionParser for the aspectj-autoproxy tag, enabling the automatic application of @AspectJ-style aspects found in the org.springframework.beans.factory.BeanFactory.
Authors
Rob Harrop, Juergen Hoeller
Since
2.0

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
addIncludePatterns(Element element, ParserContext parserContext, BeanDefinition beanDef)

private void
extendBeanDefinition(Element element, ParserContext parserContext)

public BeanDefinition
parse(Element
the element that is to be parsed into one or more BeanDefinitions
element
,
ParserContext
the object encapsulating the current state of the parsing process; provides access to a org.springframework.beans.factory.support.BeanDefinitionRegistry
parserContext
)

Implements org.springframework.beans.factory.xml.BeanDefinitionParser.parse.

Parse the specified Element and register the resulting BeanDefinition(s) with the BeanDefinitionRegistry embedded in the supplied ParserContext.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AspectJAutoProxyBeanDefinitionParserback to summary
pack-priv AspectJAutoProxyBeanDefinitionParser()

Method Detail

addIncludePatternsback to summary
private void addIncludePatterns(Element element, ParserContext parserContext, BeanDefinition beanDef)
extendBeanDefinitionback to summary
private void extendBeanDefinition(Element element, ParserContext parserContext)
parseback to summary
public BeanDefinition parse(Element element, ParserContext parserContext)

Implements org.springframework.beans.factory.xml.BeanDefinitionParser.parse.

Doc from org.springframework.beans.factory.xml.BeanDefinitionParser.parse.

Parse the specified Element and register the resulting BeanDefinition(s) with the BeanDefinitionRegistry embedded in the supplied ParserContext.

Implementations must return the primary BeanDefinition that results from the parse if they will ever be used in a nested fashion (for example as an inner tag in a <property/> tag). Implementations may return null if they will not be used in a nested fashion.

Parameters
element:Element

the element that is to be parsed into one or more BeanDefinitions

parserContext:ParserContext

the object encapsulating the current state of the parsing process; provides access to a org.springframework.beans.factory.support.BeanDefinitionRegistry

Returns:BeanDefinition

the primary BeanDefinition

Annotations
@Override
@Nullable