org.springframework.aop
Interface ProxyMethodInvocation

All Superinterfaces:
Invocation, Joinpoint, MethodInvocation
All Known Implementing Classes:
ReflectiveMethodInvocation

public interface ProxyMethodInvocation
extends MethodInvocation

Extension of the AOP Alliance MethodInvocation interface, allowing to access 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.

Since:
1.1.3
Author:
Juergen Hoeller
See Also:
ReflectiveMethodInvocation, DelegatingIntroductionInterceptor

Method Summary
 Object getProxy()
          Return the proxy that this method invocation was made through.
 
Methods inherited from interface org.aopalliance.intercept.MethodInvocation
getMethod
 
Methods inherited from interface org.aopalliance.intercept.Invocation
getArguments
 
Methods inherited from interface org.aopalliance.intercept.Joinpoint
getStaticPart, getThis, proceed
 

Method Detail

getProxy

public Object getProxy()
Return the proxy that this method invocation was made through.



Copyright (C) 2003-2004 The Spring Framework Project.