public interface JtaDataSourceWrapper
XADataSource into DataSource adding transaction support.| Modifier and Type | Method and Description |
|---|---|
void |
close(DataSource dataSource)
Close previously wrapped data source.
|
DataSource |
wrap(String name,
XADataSource xaDataSource,
PoolOptions poolOptions)
Wrap given
XADataSource into DataSource adding transaction support. |
DataSource wrap(String name, XADataSource xaDataSource, @Nullable PoolOptions poolOptions)
XADataSource into DataSource adding transaction support.name - unique name for the returned DataSourcexaDataSource - XADataSource to wrappoolOptions - options for the connection poolDataSourcevoid close(DataSource dataSource)
dataSource - data source to closeCopyright © 2012 Atteo. All Rights Reserved.