public class AspectJAroundAdvice extends AbstractAspectJAdvice
aspectJAdviceMethod, JOIN_POINT_KEYHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
AspectJAroundAdvice(java.lang.reflect.Method aspectJAroundAdviceMethod,
AspectJExpressionPointcut pointcut,
AspectInstanceFactory aif) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(MethodInvocation mi) |
boolean |
isAfterAdvice()
Return whether this is an after advice.
|
boolean |
isBeforeAdvice()
Return whether this is a before advice.
|
protected ProceedingJoinPoint |
lazyGetProceedingJoinPoint(ProxyMethodInvocation rmi)
Return the ProceedingJoinPoint for the current invocation,
instantiating it lazily if it hasn't been bound to the thread already.
|
protected boolean |
supportsProceedingJoinPoint() |
argBinding, buildSafePointcut, calculateArgumentBindings, createParameterNameDiscoverer, currentJoinPoint, getAspectClassLoader, getAspectInstanceFactory, getAspectJAdviceMethod, getAspectName, getDeclarationOrder, getDiscoveredReturningGenericType, getDiscoveredReturningType, getDiscoveredThrowingType, getJoinPoint, getJoinPointMatch, getJoinPointMatch, getOrder, getPointcut, invokeAdviceMethod, invokeAdviceMethod, invokeAdviceMethodWithGivenArgs, setArgumentNames, setArgumentNamesFromStringArray, setAspectName, setDeclarationOrder, setReturningName, setReturningNameNoCheck, setThrowingName, setThrowingNameNoCheck, toStringpublic AspectJAroundAdvice(java.lang.reflect.Method aspectJAroundAdviceMethod,
AspectJExpressionPointcut pointcut,
AspectInstanceFactory aif)
public boolean isBeforeAdvice()
AspectJPrecedenceInformationpublic boolean isAfterAdvice()
AspectJPrecedenceInformationprotected boolean supportsProceedingJoinPoint()
supportsProceedingJoinPoint in class AbstractAspectJAdvicepublic java.lang.Object invoke(MethodInvocation mi)
throws java.lang.Throwable
java.lang.Throwableprotected ProceedingJoinPoint lazyGetProceedingJoinPoint(ProxyMethodInvocation rmi)
rmi - the current Spring AOP ReflectiveMethodInvocation,
which we'll use for attribute binding