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, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered
public class AspectJExpressionPointcutAdvisor
extends AbstractGenericPointcutAdvisor
implements org.springframework.beans.factory.BeanFactoryAware
Spring AOP Advisor that can be used for any AspectJ pointcut expression.
- Since:
- 2.0
- Author:
- Rob Harrop
- See Also:
-
Field Summary
Fields inherited from interface Advisor
EMPTY_ADVICEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the Pointcut that drives this advisor.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetExpression(@Nullable String expression) voidsetLocation(@Nullable String location) voidsetParameterNames(String... names) voidsetParameterTypes(Class<?>... types) Methods inherited from class AbstractGenericPointcutAdvisor
getAdvice, setAdvice, toStringMethods inherited from class AbstractPointcutAdvisor
equals, getOrder, hashCode, setOrderMethods inherited from interface Advisor
isPerInstance
-
Constructor Details
-
AspectJExpressionPointcutAdvisor
public AspectJExpressionPointcutAdvisor()
-
-
Method Details
-
setExpression
-
getExpression
-
setLocation
-
getLocation
-
setParameterNames
-
setParameterTypes
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware
-
getPointcut
Description copied from interface:PointcutAdvisorGet the Pointcut that drives this advisor.- Specified by:
getPointcutin interfacePointcutAdvisor
-