org.springframework.aop.support
Class StaticMethodMatcherPointcut

java.lang.Object
  extended byorg.springframework.aop.support.StaticMethodMatcher
      extended byorg.springframework.aop.support.StaticMethodMatcherPointcut
All Implemented Interfaces:
MethodMatcher, Pointcut
Direct Known Subclasses:
NameMatchMethodPointcut, RegexpMethodPointcut, StaticMethodMatcherPointcutAdvisor

public abstract class StaticMethodMatcherPointcut
extends StaticMethodMatcher
implements Pointcut

Convenient superclass when we want to force subclasses to implement MethodMatcher interface, but subclasses will want to be pointcuts. The getClassFilter() method can be overriden to customize ClassFilter behaviour as well.

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

Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Fields inherited from interface org.springframework.aop.MethodMatcher
TRUE
 
Constructor Summary
StaticMethodMatcherPointcut()
           
 
Method Summary
 ClassFilter getClassFilter()
           
 MethodMatcher getMethodMatcher()
           
 
Methods inherited from class org.springframework.aop.support.StaticMethodMatcher
isRuntime, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.aop.MethodMatcher
matches
 

Constructor Detail

StaticMethodMatcherPointcut

public StaticMethodMatcherPointcut()
Method Detail

getClassFilter

public ClassFilter getClassFilter()
Specified by:
getClassFilter in interface Pointcut

getMethodMatcher

public final MethodMatcher getMethodMatcher()
Specified by:
getMethodMatcher in interface Pointcut


Copyright (C) 2003-2004 The Spring Framework Project.