XADataSource
Interface XADataSource
- All Superinterfaces:
- CommonDataSource
public interface XADataSource extends CommonDataSource
A factory for XAConnection
objects that is used internally. An object that implements the XADataSource
interface is typically registered with a naming service that uses the Java Naming and Directory Interface™ (JNDI).
An implementation of XADataSource
must include a public no-arg constructor.
- Since:
- 1.4
Methods
getXAConnection
XAConnection getXAConnection() throws SQLException
Attempts to establish a physical database connection that can be used in a distributed transaction.
- Returns: