org.apache.aries.transaction.jdbc
Class RecoverableDataSource
java.lang.Object
org.apache.aries.transaction.jdbc.internal.XADatasourceEnlistingWrapper
org.apache.aries.transaction.jdbc.RecoverableDataSource
- All Implemented Interfaces:
- Serializable, Wrapper, CommonDataSource, DataSource
public class RecoverableDataSource
- extends XADatasourceEnlistingWrapper
Defines a JDBC DataSource that will auto-enlist into existing XA transactions.
The DataSource will also be registered with the Aries/Geronimo transaction
manager in order to provide proper transaction recovery at startup.
Other considerations such as connection pooling and error handling are
completely ignored.
- See Also:
- Serialized Form
| Methods inherited from class org.apache.aries.transaction.jdbc.internal.XADatasourceEnlistingWrapper |
equals, getConnection, getConnection, getDataSource, getLoginTimeout, getLogWriter, getParentLogger, getTransactionManager, hashCode, isWrapperFor, setDataSource, setLoginTimeout, setLogWriter, setTransactionManager, unwrap |
RecoverableDataSource
public RecoverableDataSource()
getName
public String getName()
setName
public void setName(String name)
- The unique name for this managed XAResource. This name will be used
by the transaction manager to recover transactions.
- Parameters:
name -
start
public void start()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.