站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

DynamicMethodMatcherPointcut (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.aop.support
Class DynamicMethodMatcherPointcut

java.lang.Object
  extended by org.springframework.aop.support.DynamicMethodMatcher
      extended by org.springframework.aop.support.DynamicMethodMatcherPointcut
All Implemented Interfaces:
MethodMatcher, Pointcut
Direct Known Subclasses:
DynamicMethodMatcherPointcutAdvisor

public abstract class DynamicMethodMatcherPointcut
extends DynamicMethodMatcher
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.

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
DynamicMethodMatcherPointcut()
           
 
Method Summary
 ClassFilter getClassFilter()
          Return the ClassFilter for this pointcut.
 MethodMatcher getMethodMatcher()
          Return the MethodMatcher for this pointcut.
 
Methods inherited from class org.springframework.aop.support.DynamicMethodMatcher
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

DynamicMethodMatcherPointcut

public DynamicMethodMatcherPointcut()
Method Detail

getClassFilter

public ClassFilter getClassFilter()
Description copied from interface: Pointcut
Return the ClassFilter for this pointcut.

Specified by:
getClassFilter in interface Pointcut
Returns:
the ClassFilter (never null)

getMethodMatcher

public final MethodMatcher getMethodMatcher()
Description copied from interface: Pointcut
Return the MethodMatcher for this pointcut.

Specified by:
getMethodMatcher in interface Pointcut
Returns:
the MethodMatcher (never null)


Copyright (c) 2002-2007 The Spring Framework Project.