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

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

public class LoggingInvocationHandler<T>
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

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

Constructor Summary
LoggingInvocationHandler(T target, java.util.logging.Logger logger)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.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,
                                java.util.logging.Logger logger)
Method Detail

invoke

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


Copyright © 2009 OW2 Consortium. All Rights Reserved.