| java.lang.Object org.springframework.aop.support.Pointcuts
Pointcuts | abstract public class Pointcuts (Code) | | Pointcut constants for matching getters and setters,
and static methods useful for manipulating and evaluating pointcuts.
These methods are particularly useful for composing pointcuts
using the union and intersection methods.
author: Rod Johnson author: Juergen Hoeller |
GETTERS | final public static Pointcut GETTERS(Code) | | Pointcut matching all bean property getters, in any class
|
SETTERS | final public static Pointcut SETTERS(Code) | | Pointcut matching all bean property setters, in any class
|
intersection | public static Pointcut intersection(Pointcut pc1, Pointcut pc2)(Code) | | Match all methods that both the given pointcuts match.
Parameters: pc1 - the first Pointcut Parameters: pc2 - the second Pointcut a distinct Pointcut that matches all methods that bothof the given Pointcuts match |
matches | public static boolean matches(Pointcut pointcut, Method method, Class targetClass, Object[] args)(Code) | | Perform the least expensive check for a pointcut match.
Parameters: pointcut - the pointcut to match Parameters: method - the candidate method Parameters: targetClass - the target class Parameters: args - arguments to the method whether there's a runtime match |
union | public static Pointcut union(Pointcut pc1, Pointcut pc2)(Code) | | Match all methods that either (or both) of the given pointcuts matches.
Parameters: pc1 - the first Pointcut Parameters: pc2 - the second Pointcut a distinct Pointcut that matches all methods that eitherof the given Pointcuts matches |
|
|