Class XADataSourceWrappingDataSource

All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

@Deprecated(forRemoval=true, since="3.0.3") public final class XADataSourceWrappingDataSource extends AbstractDataSource
Deprecated, for removal: This API element is subject to removal in a future version.
This class is slated for removal with no replacement.
An AbstractDataSource that adapts an XADataSource to the DataSource contract.
  • Constructor Details

    • XADataSourceWrappingDataSource

      public XADataSourceWrappingDataSource(XADataSource xaDataSource, Consumer<? super XAResource> resourceEnlister)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      xaDataSource - the XADataSource to wrap; must not be null
      resourceEnlister - a Consumer of XAResource instances that enlists them in an active XA transaction; must not be null
  • Method Details