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

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


org.springframework.aop.support
Class UnionPointcut

java.lang.Object
  extended by org.springframework.aop.support.UnionPointcut
All Implemented Interfaces:
Serializable, Pointcut

 class UnionPointcut
extends Object
implements Pointcut, Serializable

Pointcut unions are tricky, because we can't just OR the MethodMatchers: we need to check that each MethodMatcher's ClassFilter was happy as well.

Author:
Rod Johnson

Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Constructor Summary
UnionPointcut(Pointcut a, Pointcut b)
           
 
Method Summary
 ClassFilter getClassFilter()
          Return the ClassFilter for this pointcut.
 MethodMatcher getMethodMatcher()
          Return the MethodMatcher for this pointcut.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionPointcut

public UnionPointcut(Pointcut a,
                     Pointcut b)
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 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.