org.springframework.aop.ProxyMethodInvocation |
Known Indirect Subclasses |
Extension of the AOP Alliance org.aopalliance.intercept.MethodInvocation interface, allowing access to the proxy that the method invocation was made through.
Useful to be able to substitute return values with the proxy, if necessary, for example if the invocation target returned itself.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the proxy that this method invocation was made through.
| |||||||||||
Return the value of the specified user attribute.
| |||||||||||
Create a clone of this object.
| |||||||||||
Create a clone of this object.
| |||||||||||
Set the arguments to be used on subsequent invocations in the any advice
in this chain.
| |||||||||||
Add the specified user attribute with the given value to this invocation.
|
Return the proxy that this method invocation was made through.
Return the value of the specified user attribute.
key | the name of the attribute |
---|
null
if not setCreate a clone of this object. If cloning is done before proceed()
is invoked on this object, proceed()
can be invoked once per clone
to invoke the joinpoint (and the rest of the advice chain) more than once.
proceed()
can be called once per clone.
Create a clone of this object. If cloning is done before proceed()
is invoked on this object, proceed()
can be invoked once per clone
to invoke the joinpoint (and the rest of the advice chain) more than once.
arguments | the arguments that the cloned invocation is supposed to use, overriding the original arguments |
---|
proceed()
can be called once per clone.
Set the arguments to be used on subsequent invocations in the any advice in this chain.
arguments | the argument array |
---|
Add the specified user attribute with the given value to this invocation.
Such attributes are not used within the AOP framework itself. They are just kept as part of the invocation object, for use in special interceptors.
key | the name of the attribute |
---|---|
value | the value of the attribute, or null to reset it
|