- java.lang.Object
-
- io.helidon.integrations.jdbc.AbstractCommonDataSource
-
- io.helidon.integrations.jdbc.AbstractDataSource
-
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource
- Direct Known Subclasses:
JtaDataSource,XADataSourceWrappingDataSource
public abstract class AbstractDataSource extends AbstractCommonDataSource implements DataSource
A skeletal implementation of theDataSourceinterface.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWrapperFor(Class<?> iface)<T> Tunwrap(Class<T> iface)-
Methods inherited from class io.helidon.integrations.jdbc.AbstractCommonDataSource
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
-
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
-
-
-
Method Detail
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
-