org.databene.commons.log
Class LoggingProxyFactory

java.lang.Object
  extended by org.databene.commons.log.LoggingProxyFactory

public class LoggingProxyFactory
extends java.lang.Object

Creates a proxy to a class which logs all invocations of parent interface methods.

Created at 17.09.2009 10:54:08

Since:
0.5.0
Author:
Volker Bergmann

Nested Class Summary
protected static class LoggingProxyFactory.LoggingInvocationHandler
           
 
Method Summary
static
<T> T
createProxy(java.lang.Class<T> interfaceClass, T realObject)
           
static
<T> T
createProxy(java.lang.Class<T> interfaceClass, T realObject, Level level)
           
static
<T> T
createProxy(java.lang.Class<T> interfaceClass, T realObject, Level level, java.lang.ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createProxy

public static <T> T createProxy(java.lang.Class<T> interfaceClass,
                                T realObject)

createProxy

public static <T> T createProxy(java.lang.Class<T> interfaceClass,
                                T realObject,
                                Level level)

createProxy

public static <T> T createProxy(java.lang.Class<T> interfaceClass,
                                T realObject,
                                Level level,
                                java.lang.ClassLoader classLoader)


Copyright © 2010. All Rights Reserved.