Package org.kie.test.util.db
Interface PoolingDataSourceWrapper
-
- All Superinterfaces:
CommonDataSource,DataSource,Wrapper
- All Known Implementing Classes:
PoolingDataSourceWrapperImpl
public interface PoolingDataSourceWrapper extends DataSource
Wrapper for an XA data source with pooling capabilities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the data source; as a result, the data source will stop providing connections and will be unregistered from JNDI context.StringgetClassName()StringgetUniqueName()-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
-
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Method Detail
-
close
void close()
Closes the data source; as a result, the data source will stop providing connections and will be unregistered from JNDI context.
-
getUniqueName
String getUniqueName()
- Returns:
- the data source JNDI name
-
getClassName
String getClassName()
- Returns:
- name of underlying XADataSource class
-
-