Implementation of AspectJ ProceedingJoinPoint interface
wrapping an AOP Alliance MethodInvocation.
Note: the getThis() method returns the current Spring AOP proxy.
The getTarget() method returns the current Spring AOP target (which may be
null if there is no target), and is a plain POJO without any advice.
If you want to call the object and have the advice take effect, use
getThis() . A common example is casting the object to an
introduced interface in the implementation of an introduction.
Of course there is no such distinction between target and proxy in AspectJ.
author: Rod Johnson author: Juergen Hoeller author: Adrian Colyer since: 2.0 |