java.lang.Object | |
↳ | org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MethodInvocationProceedingJoinPoint, wrapping the given
Spring ProxyMethodInvocation object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Spring AOP target.
| |||||||||||
Returns the Spring AOP proxy.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a new MethodInvocationProceedingJoinPoint, wrapping the given Spring ProxyMethodInvocation object.
methodInvocation | the Spring ProxyMethodInvocation object |
---|