open class MethodInvocationProceedingJoinPoint : ProceedingJoinPoint, StaticPart
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
Author
Ramnivas Laddad
Since
2.0
MethodInvocationProceedingJoinPoint(methodInvocation: ProxyMethodInvocation)
Create a new MethodInvocationProceedingJoinPoint, wrapping the given Spring ProxyMethodInvocation object. |
open fun getArgs(): Array<Any> |
|
open fun getId(): Int |
|
open fun getKind(): String |
|
open fun getSignature(): Signature |
|
open fun getSourceLocation(): SourceLocation |
|
open fun getStaticPart(): StaticPart |
|
open fun getTarget(): Any
Returns the Spring AOP target. May be |
|
open fun getThis(): Any
Returns the Spring AOP proxy. Cannot be |
|
open fun proceed(): Any open fun proceed(arguments: Array<Any>): Any |
|
open fun set$AroundClosure(aroundClosure: AroundClosure): Unit |
|
open fun toLongString(): String |
|
open fun toShortString(): String |
|
open fun toString(): String |