public class

DefaultBeanFactoryPointcutAdvisor

extends AbstractBeanFactoryPointcutAdvisor
java.lang.Object
   ↳ org.springframework.aop.support.AbstractPointcutAdvisor
     ↳ org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
       ↳ org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor

Class Overview

Concrete BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in the BeanFactory, as well as the Pointcut to be configured through a bean property.

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.

Summary

[Expand]
Inherited Constants
From interface org.springframework.core.Ordered
Public Constructors
DefaultBeanFactoryPointcutAdvisor()
Public Methods
Pointcut getPointcut()
void setPointcut(Pointcut pointcut)
Specify the pointcut targeting the advice.
String toString()
[Expand]
Inherited Methods
From class org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
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

Public Constructors

public DefaultBeanFactoryPointcutAdvisor ()

Public Methods

public Pointcut getPointcut ()

public void setPointcut (Pointcut pointcut)

Specify the pointcut targeting the advice.

Default is Pointcut.TRUE.

public String toString ()