Class PooledXADataSource
java.lang.Object
org.smallmind.persistence.sql.pool.AbstractPooledDataSource<XADataSource,XAConnection>
org.smallmind.persistence.sql.pool.PooledXADataSource
- All Implemented Interfaces:
CommonDataSource,XADataSource
public class PooledXADataSource
extends AbstractPooledDataSource<XADataSource,XAConnection>
implements XADataSource
-
Constructor Summary
ConstructorsConstructorDescriptionPooledXADataSource(String key, ComponentPool<XAConnection> componentPool) PooledXADataSource(ComponentPool<XAConnection> componentPool) -
Method Summary
Methods inherited from class org.smallmind.persistence.sql.pool.AbstractPooledDataSource
getDataSourceClass, getLoginTimeout, getLogWriter, getParentLogger, getPooledConnectionClass, isWrapperFor, setLoginTimeout, setLogWriter, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLoggerMethods inherited from interface javax.sql.XADataSource
createXAConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
Constructor Details
-
PooledXADataSource
-
PooledXADataSource
-
-
Method Details
-
register
public void register() -
getKey
-
getXAConnection
- Specified by:
getXAConnectionin interfaceXADataSource- Throws:
SQLException
-
getXAConnection
- Specified by:
getXAConnectionin interfaceXADataSource- Throws:
SQLException
-
startup
- Specified by:
startupin classAbstractPooledDataSource<XADataSource,XAConnection> - Throws:
ComponentPoolException
-
shutdown
- Specified by:
shutdownin classAbstractPooledDataSource<XADataSource,XAConnection> - Throws:
ComponentPoolException
-