|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.support.Pointcuts
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.
Field Summary | |
static Pointcut |
GETTERS
Pointcut matching all getters, in any class |
static Pointcut |
SETTERS
Pointcut matching all setters, in any class |
Constructor Summary | |
Pointcuts()
|
Method Summary | |
static boolean |
equals(Pointcut a,
Pointcut b)
|
static Pointcut |
intersection(Pointcut a,
Pointcut b)
Match all methods that both the given pointcuts match |
static boolean |
matches(Pointcut pc,
Method method,
Class targetClass,
Object[] arguments)
Perform the least expensive check for a match. |
static Pointcut |
union(Pointcut a,
Pointcut b)
Match all methods that either (or both) of the given pointcuts matches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Pointcut SETTERS
public static final Pointcut GETTERS
Constructor Detail |
public Pointcuts()
Method Detail |
public static Pointcut union(Pointcut a, Pointcut b)
a
- input pointcutb
- input pointput
public static Pointcut intersection(Pointcut a, Pointcut b)
a
- input pointcutb
- input pointput
public static boolean matches(Pointcut pc, Method method, Class targetClass, Object[] arguments)
public static boolean equals(Pointcut a, Pointcut b)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |