Package org.kie.test.util.db
Interface PoolingDataSourceWrapper
-
- All Superinterfaces:
javax.sql.CommonDataSource,javax.sql.DataSource,java.sql.Wrapper
- All Known Implementing Classes:
PoolingDataSourceWrapperImpl
public interface PoolingDataSourceWrapper extends javax.sql.DataSourceWrapper 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.java.lang.StringgetClassName()java.lang.StringgetUniqueName()-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
-
-
-
-
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
java.lang.String getUniqueName()
- Returns:
- the data source JNDI name
-
getClassName
java.lang.String getClassName()
- Returns:
- name of underlying XADataSource class
-
-