net.java.ao.builder
Class DelegatingDisposableDataSourceHandler

java.lang.Object
  extended by net.java.ao.builder.DelegatingDisposableDataSourceHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public final class DelegatingDisposableDataSourceHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Constructor Summary
DelegatingDisposableDataSourceHandler(javax.sql.DataSource dataSource, Disposable disposable)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
static DisposableDataSource newInstance(javax.sql.DataSource ds, Disposable disposable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingDisposableDataSourceHandler

public DelegatingDisposableDataSourceHandler(javax.sql.DataSource dataSource,
                                             Disposable disposable)
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

newInstance

public static DisposableDataSource newInstance(javax.sql.DataSource ds,
                                               Disposable disposable)


Copyright © 2007-2012. All Rights Reserved.