org.springframework.aop.support
Class DefaultThrowsAdvisor

org.springframework.aop.support.AbstractPointcutAdvisor
  |
  +--org.springframework.aop.support.DefaultThrowsAdvisor

public class DefaultThrowsAdvisor
extends AbstractPointcutAdvisor
implements ThrowsAdvisor

Default ThrowsAdvisor implementation, holding a pointcut and throws advice. Note that a throws advice is an object.

Author:
Rod Johnson
Version: $Id: DefaultThrowsAdvisor.java,v 1.4 2003/12/30 01:07:12 jhoeller Exp $

Constructor Summary
DefaultThrowsAdvisor(Pointcut pointcut, ThrowsAdvice throwsAdvice)
           
DefaultThrowsAdvisor(ThrowsAdvice throwsAdvice)
          Create an Advisor that always applies.

Method Summary
 ThrowsAdvicegetThrowsAdvice()
           

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

Constructor Detail

DefaultThrowsAdvisor

public DefaultThrowsAdvisor(Pointcut pointcut, ThrowsAdvice throwsAdvice)

DefaultThrowsAdvisor

public DefaultThrowsAdvisor(ThrowsAdvice throwsAdvice)
Create an Advisor that always applies.
Parameters:
throwsAdvice - wrapped advice
Method Detail

getThrowsAdvice

public ThrowsAdvice getThrowsAdvice()

Association Links

to Class org.springframework.aop.ThrowsAdvice