org.apache.openejb.resource.jdbc.logging
Class LoggingSqlDataSource

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.logging.LoggingSqlDataSource
All Implemented Interfaces:
InvocationHandler

public class LoggingSqlDataSource
extends Object
implements InvocationHandler


Constructor Summary
LoggingSqlDataSource(CommonDataSource ds, String[] debugPackages)
           
 
Method Summary
 CommonDataSource getDelegate()
           
 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

LoggingSqlDataSource

public LoggingSqlDataSource(CommonDataSource ds,
                            String[] debugPackages)
Method Detail

invoke

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

getDelegate

public CommonDataSource getDelegate()


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.