org.springframework.aop.support
Class Pointcuts

java.lang.Object
  extended byorg.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

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)
           
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.
static Pointcut union(Pointcut a, Pointcut b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

Pointcuts

public Pointcuts()
Method Detail

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.