java.lang.Object | ||
↳ | org.springframework.aop.support.AbstractPointcutAdvisor | |
↳ | org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor |
Known Direct Subclasses |
Abstract BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in a BeanFactory.
Specifying the name of an advice bean instead of the advice object itself (if running within a BeanFactory) increases loose coupling at initialization time, in order to not initialize the advice object until the pointcut actually matches.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.Ordered
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the name of the advice bean that this advisor refers to, if any.
| |||||||||||
Specify the name of the advice bean that this advisor should refer to.
| |||||||||||
Callback that supplies the owning factory to a bean instance.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.support.AbstractPointcutAdvisor
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.Advisor
| |||||||||||
From interface
org.springframework.aop.PointcutAdvisor
| |||||||||||
From interface
org.springframework.beans.factory.BeanFactoryAware
| |||||||||||
From interface
org.springframework.core.Ordered
|
Return the name of the advice bean that this advisor refers to, if any.
Specify the name of the advice bean that this advisor should refer to.
An instance of the specified bean will be obtained on first access of this advisor's advice. This advisor will only ever obtain at most one single instance of the advice bean, caching the instance for the lifetime of the advisor.
Callback that supplies the owning factory to a bean instance.
Invoked after the population of normal bean properties
but before an initialization callback such as
afterPropertiesSet()
or a custom init-method.
beanFactory | owning BeanFactory (never null ).
The bean can immediately call methods on the factory. |
---|