- 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 theDataSource
interface.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWrapperFor(Class<?> iface)
<T> T
unwrap(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:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
-