Package org.kie.test.util.db
Interface PoolingDataSourceWrapper
- All Superinterfaces:
CommonDataSource,DataSource,Wrapper
- All Known Implementing Classes:
PoolingDataSourceWrapperImpl
Wrapper for an XA data source with pooling capabilities.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the data source; as a result, the data source will stop providing connections and will be unregistered from JNDI context.Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLoggerMethods inherited from interface javax.sql.DataSource
createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriterMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
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
-