Top Description Fields Constructors Methods
org.springframework.aop.support

public abstract Class StaticMethodMatcherPointcut

extends StaticMethodMatcher
implements Pointcut
Class Inheritance
All Implemented Interfaces
org.springframework.aop.Pointcut
Known Direct Subclasses
org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor, org.springframework.aop.support.AbstractRegexpMethodPointcut, org.springframework.aop.support.NameMatchMethodPointcut, org.springframework.aop.support.Pointcuts.SetterPointcut, org.springframework.aop.support.Pointcuts.GetterPointcut
Imports
org.springframework.aop.ClassFilter, .MethodMatcher, .Pointcut

Convenient superclass when we want to force subclasses to implement the MethodMatcher interface but subclasses will want to be pointcuts.

The "classFilter" property can be set to customize ClassFilter behavior. The default is ClassFilter#TRUE.

Authors
Rod Johnson, Juergen Hoeller

Field Summary

Modifier and TypeField and Description
private ClassFilter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ClassFilter
getClassFilter()

Implements org.springframework.aop.Pointcut.getClassFilter.

Return the ClassFilter for this pointcut.

public final MethodMatcher
getMethodMatcher()

Implements org.springframework.aop.Pointcut.getMethodMatcher.

Return the MethodMatcher for this pointcut.

public void
setClassFilter(ClassFilter classFilter)

Set the ClassFilter to use for this pointcut.

Inherited from org.springframework.aop.support.StaticMethodMatcher:
isRuntimematches

Field Detail

classFilterback to summary
private ClassFilter classFilter

Constructor Detail

StaticMethodMatcherPointcutback to summary
public StaticMethodMatcherPointcut()

Method Detail

getClassFilterback to summary
public ClassFilter getClassFilter()

Implements org.springframework.aop.Pointcut.getClassFilter.

Doc from org.springframework.aop.Pointcut.getClassFilter.

Return the ClassFilter for this pointcut.

Returns:ClassFilter

the ClassFilter (never null)

Annotations
@Override
getMethodMatcherback to summary
public final MethodMatcher getMethodMatcher()

Implements org.springframework.aop.Pointcut.getMethodMatcher.

Doc from org.springframework.aop.Pointcut.getMethodMatcher.

Return the MethodMatcher for this pointcut.

Returns:MethodMatcher

the MethodMatcher (never null)

Annotations
@Override
setClassFilterback to summary
public void setClassFilter(ClassFilter classFilter)

Set the ClassFilter to use for this pointcut. Default is ClassFilter#TRUE.