protected class DeferredConnectionProxyDataSourceWrapper.DeferredFetchInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
InvocationHandler
for deferring fetching of actual Connection
until necessary.Constructor and Description |
---|
DeferredFetchInvocationHandler() |
DeferredFetchInvocationHandler(java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
protected void |
setConnectionProxy(DeferredConnectionProxyDataSourceWrapper.DeferredConnectionProxy connectionProxy) |
public DeferredFetchInvocationHandler()
public DeferredFetchInvocationHandler(java.lang.String username, java.lang.String password)
protected void setConnectionProxy(DeferredConnectionProxyDataSourceWrapper.DeferredConnectionProxy connectionProxy)
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable