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.
author: Juergen Hoeller since: 2.0.2 See Also:AbstractBeanFactoryPointcutAdvisor.setAdviceBeanName See Also:DefaultBeanFactoryPointcutAdvisor
Return the name of the advice bean that this advisor refers to, if any.
setAdviceBeanName
public void setAdviceBeanName(String adviceBeanName)(Code)
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.
See Also:AbstractBeanFactoryPointcutAdvisor.getAdvice()