org.springframework.aop.support
Class StaticMethodMatcherPointcutThrowsAdvisor

org.springframework.aop.support.StaticMethodMatcher
  |
  +--org.springframework.aop.support.StaticMethodMatcherPointcut
        |
        +--org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
              |
              +--org.springframework.aop.support.StaticMethodMatcherPointcutThrowsAdvisor

public abstract class StaticMethodMatcherPointcutThrowsAdvisor
extends StaticMethodMatcherPointcutAdvisor
implements ThrowsAdvisor

Convenient superclass for static method pointcuts that hold a a ThrowsAdvice, making them an Advisor. Analogous to the old Spring StaticMethodPointcut.

Author:
Rod Johnson
Version: $Id: StaticMethodMatcherPointcutThrowsAdvisor.java,v 1.3 2004/01/13 16:34:31 johnsonr Exp $

Method Summary
 ThrowsAdvicegetThrowsAdvice()
           
 abstract booleanmatches(Method m, Class targetClass)
           
 voidsetThrowsAdvice(ThrowsAdvice throwsAdvice)
           

Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
getPointcut, isPerInstance

Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut
getClassFilter, getMethodMatcher

Methods inherited from class org.springframework.aop.support.StaticMethodMatcher
isRuntime, matches

Method Detail

getThrowsAdvice

public ThrowsAdvice getThrowsAdvice()

matches

public abstract boolean matches(Method m, Class targetClass)

setThrowsAdvice

public void setThrowsAdvice(ThrowsAdvice throwsAdvice)

Association Links

to Class org.springframework.aop.ThrowsAdvice