org.springframework.aop.support
Class Pointcuts

java.lang.Object
  extended byorg.springframework.aop.support.Pointcuts

public abstract class Pointcuts
extends java.lang.Object

Static methods useful for manipulating and evaluating pointcuts. This methods are particularly useful for composing pointcuts using the union and intersection methods.

Version:
$Id: Pointcuts.java,v 1.5 2004/03/18 02:46:11 trisberg Exp $
Author:
Rod Johnson

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
 

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.