类 StaticMethodMatcherPointcut
- java.lang.Object
- org.springframework.aop.support.StaticMethodMatcher
- org.springframework.aop.support.StaticMethodMatcherPointcut
- 所有已实现的接口:
MethodMatcher
,Pointcut
- 直接已知子类:
AbstractRegexpMethodPointcut
,JCacheOperationSourcePointcut
,NameMatchMethodPointcut
,StaticMethodMatcherPointcutAdvisor
public abstract class StaticMethodMatcherPointcut extends StaticMethodMatcher implements Pointcut
Convenient superclass when we want to force subclasses to implement theMethodMatcher
interface but subclasses will want to be pointcuts.The
"classFilter"
property can be set to customizeClassFilter
behavior. The default isClassFilter.TRUE
.- 作者:
- Rod Johnson, Juergen Hoeller
字段概要
从接口继承的字段 org.springframework.aop.MethodMatcher
TRUE
构造器概要
构造器 构造器 说明 StaticMethodMatcherPointcut()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ClassFilter
getClassFilter()
Return the ClassFilter for this pointcut.MethodMatcher
getMethodMatcher()
Return the MethodMatcher for this pointcut.void
setClassFilter(ClassFilter classFilter)
Set theClassFilter
to use for this pointcut.从类继承的方法 org.springframework.aop.support.StaticMethodMatcher
isRuntime, matches
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.aop.MethodMatcher
matches
构造器详细资料
StaticMethodMatcherPointcut
public StaticMethodMatcherPointcut()
方法详细资料
setClassFilter
public void setClassFilter(ClassFilter classFilter)
Set theClassFilter
to use for this pointcut. Default isClassFilter.TRUE
.
getClassFilter
public ClassFilter getClassFilter()
从接口复制的说明:Pointcut
Return the ClassFilter for this pointcut.- 指定者:
getClassFilter
在接口中Pointcut
- 返回:
- the ClassFilter (never
null
)
getMethodMatcher
public final MethodMatcher getMethodMatcher()
从接口复制的说明:Pointcut
Return the MethodMatcher for this pointcut.- 指定者:
getMethodMatcher
在接口中Pointcut
- 返回:
- the MethodMatcher (never
null
)