org.apache.aries.proxy.impl
Class DefaultWrapper

java.lang.Object
  extended by org.apache.aries.proxy.impl.DefaultWrapper
All Implemented Interfaces:
org.apache.aries.proxy.InvocationListener

public class DefaultWrapper
extends Object
implements org.apache.aries.proxy.InvocationListener


Constructor Summary
DefaultWrapper()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWrapper

public DefaultWrapper()
Method Detail

preInvoke

public Object preInvoke(Object proxy,
                        Method m,
                        Object[] args)
                 throws Throwable
Specified by:
preInvoke in interface org.apache.aries.proxy.InvocationListener
Throws:
Throwable

postInvoke

public void postInvoke(Object token,
                       Object proxy,
                       Method m,
                       Object returnValue)
                throws Throwable
Specified by:
postInvoke in interface org.apache.aries.proxy.InvocationListener
Throws:
Throwable

postInvokeExceptionalReturn

public void postInvokeExceptionalReturn(Object token,
                                        Object proxy,
                                        Method m,
                                        Throwable exception)
                                 throws Throwable
Specified by:
postInvokeExceptionalReturn in interface org.apache.aries.proxy.InvocationListener
Throws:
Throwable


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