Object[]
|
argBinding(JoinPoint jp, JoinPointMatch jpMatch, Object returnValue, Throwable ex)
Take the arguments at the method execution join point and output a set of arguments
to the advice method
|
final
Pointcut
|
buildSafePointcut()
Build a 'safe' pointcut that excludes the AspectJ advice method itself.
|
synchronized
final
void
|
calculateArgumentBindings()
Do as much work as we can as part of the set-up so that argument binding
on subsequent advice invocations can be as fast as possible.
|
ParameterNameDiscoverer
|
createParameterNameDiscoverer()
Create a ParameterNameDiscoverer to be used for argument binding.
|
static
JoinPoint
|
currentJoinPoint()
Lazily instantiate joinpoint for the current invocation.
|
final
ClassLoader
|
getAspectClassLoader()
Return the ClassLoader for aspect instances.
|
final
AspectInstanceFactory
|
getAspectInstanceFactory()
Return the factory for aspect instances.
|
final
Method
|
getAspectJAdviceMethod()
Return the AspectJ-style advice method.
|
String
|
getAspectName()
The name of the aspect (bean) in which the advice was declared.
|
int
|
getDeclarationOrder()
The declaration order of the advice member within the aspect.
|
Type
|
getDiscoveredReturningGenericType()
|
Class
|
getDiscoveredReturningType()
|
Class
|
getDiscoveredThrowingType()
|
JoinPoint
|
getJoinPoint()
Overridden in around advice to return proceeding join point.
|
JoinPointMatch
|
getJoinPointMatch()
Get the current join point match at the join point we are being dispatched on.
|
JoinPointMatch
|
getJoinPointMatch(ProxyMethodInvocation pmi)
|
int
|
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
final
AspectJExpressionPointcut
|
getPointcut()
Return the AspectJ expression pointcut.
|
Object
|
invokeAdviceMethod(JoinPointMatch jpMatch, Object returnValue, Throwable ex)
Invoke the advice method.
|
Object
|
invokeAdviceMethod(JoinPoint jp, JoinPointMatch jpMatch, Object returnValue, Throwable t)
|
Object
|
invokeAdviceMethodWithGivenArgs(Object[] args)
|
void
|
setArgumentNames(String argNames)
Set by creator of this advice object if the argument names are known.
|
void
|
setArgumentNamesFromStringArray(String[] args)
|
void
|
setAspectName(String name)
|
void
|
setDeclarationOrder(int order)
Sets the declaration order of this advice within the aspect
|
void
|
setReturningName(String name)
|
void
|
setReturningNameNoCheck(String name)
We need to hold the returning name at this level for argument binding calculations,
this method allows the afterReturning advice subclass to set the name.
|
void
|
setThrowingName(String name)
|
void
|
setThrowingNameNoCheck(String name)
We need to hold the throwing name at this level for argument binding calculations,
this method allows the afterThrowing advice subclass to set the name.
|
boolean
|
supportsProceedingJoinPoint()
|
String
|
toString()
|