Package org.springframework.aop.aspectj
Class AspectJExpressionPointcutAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractGenericPointcutAdvisor
org.springframework.aop.aspectj.AspectJExpressionPointcutAdvisor
- All Implemented Interfaces:
- Serializable,- Advisor,- PointcutAdvisor,- Aware,- BeanFactoryAware,- Ordered
public class AspectJExpressionPointcutAdvisor
extends AbstractGenericPointcutAdvisor
implements BeanFactoryAware
Spring AOP Advisor that can be used for any AspectJ pointcut expression.
- Since:
- 2.0
- Author:
- Rob Harrop
- See Also:
- 
Field SummaryFields inherited from interface org.springframework.aop.AdvisorEMPTY_ADVICEFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the Pointcut that drives this advisor.voidsetBeanFactory(BeanFactory beanFactory) Callback that supplies the owning factory to a bean instance.voidsetExpression(@Nullable String expression) voidsetLocation(@Nullable String location) voidsetParameterNames(String... names) voidsetParameterTypes(Class<?>... types) Methods inherited from class org.springframework.aop.support.AbstractGenericPointcutAdvisorgetAdvice, setAdvice, toStringMethods inherited from class org.springframework.aop.support.AbstractPointcutAdvisorequals, getOrder, hashCode, setOrderMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.aop.AdvisorisPerInstance
- 
Constructor Details- 
AspectJExpressionPointcutAdvisorpublic AspectJExpressionPointcutAdvisor()
 
- 
- 
Method Details- 
setExpression
- 
getExpression
- 
setLocation
- 
getLocation
- 
setParameterNames
- 
setParameterTypes
- 
setBeanFactoryDescription copied from interface:BeanFactoryAwareCallback that supplies the owning factory to a bean instance.Invoked after the population of normal bean properties but before an initialization callback such as InitializingBean.afterPropertiesSet()or a custom init-method.- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Parameters:
- beanFactory- owning BeanFactory (never- null). The bean can immediately call methods on the factory.
- See Also:
 
- 
getPointcutDescription copied from interface:PointcutAdvisorGet the Pointcut that drives this advisor.- Specified by:
- getPointcutin interface- PointcutAdvisor
 
 
-