org.ow2.orchestra.util
Class LoggingInvocationHandler<T>

java.lang.Object
  extended by org.ow2.orchestra.util.LoggingInvocationHandler<T>
All Implemented Interfaces:
InvocationHandler

public class LoggingInvocationHandler<T>
extends Object
implements InvocationHandler

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras

Constructor Summary
LoggingInvocationHandler(T target, Logger logger)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingInvocationHandler

public LoggingInvocationHandler(T target,
                                Logger logger)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2011 OW2 Consortium. All Rights Reserved.