public class XAPooledDataSource extends AbstractPooledDataSource<XADataSource,XAConnection> implements XADataSource
| Constructor and Description |
|---|
XAPooledDataSource(ComponentPool<XAConnection> componentPool) |
XAPooledDataSource(String key,
ComponentPool<XAConnection> componentPool) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(String user,
String password) |
void |
register() |
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 XAPooledDataSource(ComponentPool<XAConnection> componentPool)
public XAPooledDataSource(String key, ComponentPool<XAConnection> componentPool)
public void register()
public String getKey()
public 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.