|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.config.ConfigBeanDefinitionParser
class ConfigBeanDefinitionParser
BeanDefinitionParser
for the <aop:config>
tag.
Constructor Summary | |
---|---|
ConfigBeanDefinitionParser()
|
Method Summary | |
---|---|
protected AbstractBeanDefinition |
createPointcutDefinition(String expression)
Creates a BeanDefinition for the AspectJExpressionPointcut class using
the supplied pointcut expression. |
BeanDefinition |
parse(Element element,
ParserContext parserContext)
Parse the specified Element and register the resulting
BeanDefinition(s) with the
ParserContext.getRegistry() BeanDefinitionRegistry}
embedded in the supplied ParserContext . |
String |
parsePointcutProperty(Element element,
MutablePropertyValues mpvs,
ParserContext parserContext)
Parses the pointcut or pointcut-ref attributes of the supplied
Element and add a pointcut property as appropriate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ConfigBeanDefinitionParser()
Method Detail |
---|
public BeanDefinition parse(Element element, ParserContext parserContext)
BeanDefinitionParser
Element
and register the resulting
BeanDefinition(s)
with the
ParserContext.getRegistry()
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.
parse
in interface BeanDefinitionParser
element
- the element that is to be parsed into one or more BeanDefinitions
parserContext
- the object encapsulating the current state of the parsing process;
provides access to a BeanDefinitionRegistry
BeanDefinition
public String parsePointcutProperty(Element element, MutablePropertyValues mpvs, ParserContext parserContext)
pointcut
or pointcut-ref
attributes of the supplied
Element
and add a pointcut
property as appropriate. Generates a
BeanDefinition
for the pointcut if necessary
and returns its bean name, otherwise returns the bean name of the referred pointcut.
protected AbstractBeanDefinition createPointcutDefinition(String expression)
BeanDefinition
for the AspectJExpressionPointcut
class using
the supplied pointcut expression.
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |