public class ContextualXAPooledDataSource extends AbstractPooledDataSource<XADataSource,XAConnection> implements XADataSource
| Constructor and Description |
|---|
ContextualXAPooledDataSource(ContextualPoolNameTranslator poolNameTranslator,
ComponentPool<XAConnection>... componentPools) |
| Modifier and Type | Method and Description |
|---|---|
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(String user,
String password) |
void |
shutdown() |
void |
startup() |
getDataSourceClass, getLoginTimeout, getLogWriter, getParentLogger, getPooledConnectionClass, isWrapperFor, setLoginTimeout, setLogWriter, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterpublic ContextualXAPooledDataSource(ContextualPoolNameTranslator poolNameTranslator, ComponentPool<XAConnection>... componentPools) throws ComponentPoolException
ComponentPoolExceptionpublic XAConnection getXAConnection() throws SQLException
getXAConnection in interface XADataSourceSQLExceptionpublic XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection in interface XADataSourceSQLExceptionpublic void startup()
throws ComponentPoolException
startup in class AbstractPooledDataSource<XADataSource,XAConnection>ComponentPoolExceptionpublic void shutdown()
throws ComponentPoolException
shutdown in class AbstractPooledDataSource<XADataSource,XAConnection>ComponentPoolExceptionCopyright © 2017. All rights reserved.