Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » aspectj » [javadoc | source]
org.springframework.aop.aspectj
public class: AspectJExpressionPointcut [javadoc | source]
java.lang.Object
   org.springframework.aop.support.AbstractExpressionPointcut
      org.springframework.aop.aspectj.AspectJExpressionPointcut

All Implemented Interfaces:
    IntroductionAwareMethodMatcher, BeanFactoryAware, ClassFilter, ExpressionPointcut, Serializable

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.

Constructor:
 public AspectJExpressionPointcut() 
 public AspectJExpressionPointcut(Set supportedPrimitives) 
    Create a new AspectJExpressionPointcut with the given supported primitives.
 public AspectJExpressionPointcut(Class declarationScope,
    String[] paramNames,
    Class[] paramTypes) 
    Create a new AspectJExpressionPointcut with the given settings.
    Parameters:
    declarationScope - the declaration scope for the pointcut
    paramNames - the parameter names for the pointcut
    paramTypes - the parameter types for the pointcut
Method from org.springframework.aop.aspectj.AspectJExpressionPointcut Summary:
equals,   getClassFilter,   getCurrentProxiedBeanName,   getMethodMatcher,   getPointcutExpression,   hashCode,   isRuntime,   matches,   matches,   matches,   matches,   setBeanFactory,   setParameterNames,   setParameterTypes,   setPointcutDeclarationScope,   toString
Methods from org.springframework.aop.support.AbstractExpressionPointcut:
getExpression,   getLocation,   onSetExpression,   setExpression,   setLocation
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.aspectj.AspectJExpressionPointcut Detail:
 public boolean equals(Object other) 
 public ClassFilter getClassFilter() 
 protected String getCurrentProxiedBeanName() 
 public MethodMatcher getMethodMatcher() 
 public PointcutExpression getPointcutExpression() 
    Return the underlying AspectJ pointcut expression.
 public int hashCode() 
 public boolean isRuntime() 
 public boolean matches(Class targetClass) 
 public boolean matches(Method method,
    Class targetClass) 
 public boolean matches(Method method,
    Class targetClass,
    boolean beanHasIntroductions) 
 public boolean matches(Method method,
    Class targetClass,
    Object[] args) 
 public  void setBeanFactory(BeanFactory beanFactory) 
 public  void setParameterNames(String[] names) 
    Set the parameter names for the pointcut.
 public  void setParameterTypes(Class[] types) 
    Set the parameter types for the pointcut.
 public  void setPointcutDeclarationScope(Class pointcutDeclarationScope) 
    Set the declaration scope for the pointcut.
 public String toString()