org.apache.aries.proxy
Interface InvocationListener


public interface InvocationListener

An InvocationListener is used in conjunction with the ProxyManager to intercept method calls on the proxy object


Method Summary
 void postInvoke(Object token, Object proxy, Method m, Object returnValue)
           
 void postInvokeExceptionalReturn(Object token, Object proxy, Method m, Throwable exception)
           
 Object preInvoke(Object proxy, Method m, Object[] args)
           
 

Method Detail

preInvoke

Object preInvoke(Object proxy,
                 Method m,
                 Object[] args)
                 throws Throwable
Throws:
Throwable

postInvoke

void postInvoke(Object token,
                Object proxy,
                Method m,
                Object returnValue)
                throws Throwable
Throws:
Throwable

postInvokeExceptionalReturn

void postInvokeExceptionalReturn(Object token,
                                 Object proxy,
                                 Method m,
                                 Throwable exception)
                                 throws Throwable
Throws:
Throwable


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.