当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
AspectJAfterThrowingAdvice (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.aop.aspectj
Class AspectJAfterThrowingAdvice
java.lang.Object
org.springframework.aop.aspectj.AbstractAspectJAdvice
org.springframework.aop.aspectj.AspectJAfterThrowingAdvice
- All Implemented Interfaces:
- Advice, Interceptor, MethodInterceptor, AfterAdvice, AspectJPrecedenceInformation, Ordered
public class AspectJAfterThrowingAdvice
- extends AbstractAspectJAdvice
- implements MethodInterceptor, AfterAdvice
Spring AOP advice wrapping an AspectJ after-throwing advice method.
- Since:
- 2.0
- Author:
- Rod Johnson
Methods inherited from class org.springframework.aop.aspectj.AbstractAspectJAdvice |
argBinding, buildSafePointcut, calculateArgumentBindings, createParameterNameDiscoverer, currentJoinPoint, getAspectInstanceFactory, getAspectJAdviceMethod, getAspectName, getDeclarationOrder, getDiscoveredReturningType, getDiscoveredThrowingType, getJoinPoint, getJoinPointMatch, getJoinPointMatch, getOrder, getPointcut, invokeAdviceMethod, invokeAdviceMethod, invokeAdviceMethodWithGivenArgs, setArgumentNames, setArgumentNamesFromStringArray, setAspectName, setDeclarationOrder, setReturningName, setReturningNameNoCheck, setThrowingNameNoCheck, toString |
AspectJAfterThrowingAdvice
public AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod,
AspectJExpressionPointcut pointcut,
AspectInstanceFactory aif)
isBeforeAdvice
public boolean isBeforeAdvice()
- Description copied from interface:
AspectJPrecedenceInformation
- Return whether this is a before advice.
- Specified by:
isBeforeAdvice
in interface AspectJPrecedenceInformation
isAfterAdvice
public boolean isAfterAdvice()
- Description copied from interface:
AspectJPrecedenceInformation
- Return whether this is an after advice.
- Specified by:
isAfterAdvice
in interface AspectJPrecedenceInformation
setThrowingName
public void setThrowingName(String name)
- Overrides:
setThrowingName
in class AbstractAspectJAdvice
invoke
public Object invoke(MethodInvocation mi)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
Throwable
Copyright © 2002-2007 The Spring Framework.