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

Pointcut (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.aop
Interface Pointcut

All Known Subinterfaces:
ExpressionPointcut
All Known Implementing Classes:
AbstractExpressionPointcut, AbstractRegexpMethodPointcut, AnnotationMatchingPointcut, AspectJExpressionPointcut, ComposablePointcut, ControlFlowPointcut, DynamicMethodMatcherPointcut, DynamicMethodMatcherPointcutAdvisor, JdkRegexpMethodPointcut, NameMatchMethodPointcut, Perl5RegexpMethodPointcut, StaticMethodMatcherPointcut, StaticMethodMatcherPointcutAdvisor

public interface Pointcut

Core Spring pointcut abstraction.

A pointcut is composed of a ClassFilter and a MethodMatcher. Both these basic terms and a Pointcut itself can be combined to build up combinations (e.g. through ComposablePointcut).

Author:
Rod Johnson
See Also:
ClassFilter, MethodMatcher, Pointcuts, ClassFilters, MethodMatchers

Field Summary
static Pointcut TRUE
          Canonical Pointcut instance that always matches.
 
Method Summary
 ClassFilter getClassFilter()
          Return the ClassFilter for this pointcut.
 MethodMatcher getMethodMatcher()
          Return the MethodMatcher for this pointcut.
 

Field Detail

TRUE

static final Pointcut TRUE
Canonical Pointcut instance that always matches.

Method Detail

getClassFilter

ClassFilter getClassFilter()
Return the ClassFilter for this pointcut.

Returns:
the ClassFilter (never null)

getMethodMatcher

MethodMatcher getMethodMatcher()
Return the MethodMatcher for this pointcut.

Returns:
the MethodMatcher (never null)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.