public class ResettableDataSourceHandler extends java.lang.Object implements DelegatableHandler
Modifier and Type | Class and Description |
---|---|
static class |
ResettableDataSourceHandler.Result |
static interface |
ResettableDataSourceHandler.RetryStrategy |
Constructor and Description |
---|
ResettableDataSourceHandler(javax.sql.CommonDataSource ds,
java.lang.String value,
java.lang.String methods) |
Modifier and Type | Method and Description |
---|---|
javax.sql.CommonDataSource |
getDelegate() |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
void |
updateDelegate(javax.sql.CommonDataSource ds) |
public ResettableDataSourceHandler(javax.sql.CommonDataSource ds, java.lang.String value, java.lang.String methods)
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
public javax.sql.CommonDataSource getDelegate()
getDelegate
in interface DelegatableHandler
public void updateDelegate(javax.sql.CommonDataSource ds)