| java.lang.Object org.springframework.aop.support.AbstractExpressionPointcut org.springframework.aop.aspectj.AspectJExpressionPointcut
AspectJExpressionPointcut | public class AspectJExpressionPointcut extends AbstractExpressionPointcut implements ClassFilter,IntroductionAwareMethodMatcher(Code) | | Spring
org.springframework.aop.Pointcut implementation
that uses the AspectJ weaver to evaluate a pointcut expression.
The pointcut expression value is an AspectJ expression. This can
reference other pointcuts and use composition and other operations.
Naturally, as this is to be processed by Spring AOP's proxy-based model,
only method execution pointcuts are supported.
author: Rob Harrop author: Adrian Colyer author: Rod Johnson author: Juergen Hoeller author: Ramnivas Laddad since: 2.0 |
AspectJExpressionPointcut | public AspectJExpressionPointcut()(Code) | | Create a new default AspectJExpressionPointcut.
|
AspectJExpressionPointcut | public AspectJExpressionPointcut(Set supportedPrimitives)(Code) | | Create a new AspectJExpressionPointcut with the given supported primitives.
Parameters: supportedPrimitives - Set of org.aspectj.weaver.tools.PointcutPrimitiveinstances |
AspectJExpressionPointcut | public AspectJExpressionPointcut(Class declarationScope, String[] paramNames, Class[] paramTypes)(Code) | | Create a new AspectJExpressionPointcut with the given settings.
Parameters: declarationScope - the declaration scope for the pointcut Parameters: paramNames - the parameter names for the pointcut Parameters: paramTypes - the parameter types for the pointcut |
getCurrentProxiedBeanName | protected String getCurrentProxiedBeanName()(Code) | | |
getPointcutExpression | public PointcutExpression getPointcutExpression()(Code) | | Return the underlying AspectJ pointcut expression.
|
hashCode | public int hashCode()(Code) | | |
isRuntime | public boolean isRuntime()(Code) | | |
matches | public boolean matches(Method method, Class targetClass, boolean beanHasIntroductions)(Code) | | |
setParameterNames | public void setParameterNames(String[] names)(Code) | | Set the parameter names for the pointcut.
|
setParameterTypes | public void setParameterTypes(Class[] types)(Code) | | Set the parameter types for the pointcut.
|
setPointcutDeclarationScope | public void setPointcutDeclarationScope(Class pointcutDeclarationScope)(Code) | | Set the declaration scope for the pointcut.
|
|
|