Package io.helidon.integrations.jta.jdbc
Class XADataSourceWrappingDataSource
java.lang.Object
io.helidon.integrations.jdbc.AbstractCommonDataSource
io.helidon.integrations.jdbc.AbstractDataSource
io.helidon.integrations.jta.jdbc.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.
-
Constructor Summary
ConstructorDescriptionXADataSourceWrappingDataSource
(XADataSource xaDataSource, Consumer<? super XAResource> resourceEnlister) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newXADataSourceWrappingDataSource
. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.getConnection
(String username, String password) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class io.helidon.integrations.jdbc.AbstractDataSource
isWrapperFor, unwrap
Methods inherited from class io.helidon.integrations.jdbc.AbstractCommonDataSource
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
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.Creates a newXADataSourceWrappingDataSource
.- Parameters:
xaDataSource
- theXADataSource
to wrap; must not benull
resourceEnlister
- aConsumer
ofXAResource
instances that enlists them in an active XA transaction; must not benull
-
-
Method Details
-
getConnection
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
SQLException
-
getConnection
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
SQLException
-