Package io.mats3.util.wrappers
Class DeferredConnectionProxyDataSourceWrapper.DeferredFetchInvocationHandler
java.lang.Object
io.mats3.util.wrappers.DeferredConnectionProxyDataSourceWrapper.DeferredFetchInvocationHandler
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
- DeferredConnectionProxyDataSourceWrapper
protected class DeferredConnectionProxyDataSourceWrapper.DeferredFetchInvocationHandler
extends Object
implements InvocationHandler
Implementation of Java's "dynamic proxy"
InvocationHandler
for deferring fetching of actual Connection
until necessary.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
setConnectionProxy
(DeferredConnectionProxyDataSourceWrapper.DeferredConnectionProxy connectionProxy)
-
Constructor Details
-
DeferredFetchInvocationHandler
public DeferredFetchInvocationHandler() -
DeferredFetchInvocationHandler
-
-
Method Details
-
setConnectionProxy
protected void setConnectionProxy(DeferredConnectionProxyDataSourceWrapper.DeferredConnectionProxy connectionProxy) -
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-