Package oracle.tmm.jta.common
Class TrmXAConnectionFactory
java.lang.Object
oracle.tmm.jta.common.TrmXAConnectionFactory
- All Implemented Interfaces:
Supplier<XAConnection>
@Provider
@RequestScoped
public class TrmXAConnectionFactory
extends Object
implements Supplier<XAConnection>
XA connection factory to create a XA connection to the database configured with OTMM(MicroTx)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Get a XA connection to the database configured with OTMM(MicroTx)getConnection(String dataSourceName) getXAConn(jakarta.enterprise.inject.spi.InjectionPoint ip) Get a XA connection to the database configured with OTMM(MicroTx)
-
Constructor Details
-
TrmXAConnectionFactory
public TrmXAConnectionFactory()
-
-
Method Details
-
getXAConn
Get a XA connection to the database configured with OTMM(MicroTx)- Returns:
- XA Connection to the database
-
get
Get a XA connection to the database configured with OTMM(MicroTx)- Specified by:
getin interfaceSupplier<XAConnection>- Returns:
- XA Connection to the database
-
getConnection
- Throws:
TrmConnectionException
-