Class XADataSourceWrappingDataSource

All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public final class XADataSourceWrappingDataSource extends AbstractDataSource
An AbstractDataSource that adapts an XADataSource to the DataSource contract.

The XADataSource being adapted must guarantee that when close() is called on any Connection that an XAConnection supplied by the XADataSource.getXAConnection() method supplies, the closing operation is propagated to the XAConnection, or undefined behavior will result.