public class FlushableDataSourceHandler extends java.lang.Object implements DelegatableHandler
Modifier and Type | Class and Description |
---|---|
static class |
FlushableDataSourceHandler.FlushConfig |
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
FACTORY_ARGS |
Constructor and Description |
---|
FlushableDataSourceHandler(javax.sql.CommonDataSource original,
FlushableDataSourceHandler.FlushConfig config,
ResettableDataSourceHandler resettableHandler) |
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 |
updateDataSource(javax.sql.CommonDataSource ds) |
public FlushableDataSourceHandler(javax.sql.CommonDataSource original, FlushableDataSourceHandler.FlushConfig config, ResettableDataSourceHandler resettableHandler)
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 updateDataSource(javax.sql.CommonDataSource ds)