org.springframework.aop.support
Class Pointcuts
java.lang.Object
org.springframework.aop.support.Pointcuts
- public abstract class Pointcuts
- extends java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SETTERS
public static final Pointcut SETTERS
- Pointcut matching all setters, in any class
GETTERS
public static final Pointcut GETTERS
- Pointcut matching all getters, in any class
Pointcuts
public Pointcuts()
union
public static Pointcut union(Pointcut a,
Pointcut b)
intersection
public static Pointcut intersection(Pointcut a,
Pointcut b)
matches
public static boolean matches(Pointcut pc,
java.lang.reflect.Method m,
java.lang.Class targetClass,
java.lang.Object[] arguments)
- Perform the least expensive check for a match.
equals
public static boolean equals(Pointcut a,
Pointcut b)
Copyright (C) 2003-2004 The Spring Framework Project.