Class TrmXAConnectionFactory

java.lang.Object
oracle.tmm.jta.common.TrmXAConnectionFactory
All Implemented Interfaces:
Supplier<XAConnection>

@Provider public class TrmXAConnectionFactory extends Object implements Supplier<XAConnection>
XA connection factory to create a XA connection to the database configured with OTMM(MicroTx)
  • Constructor Details

    • TrmXAConnectionFactory

      public TrmXAConnectionFactory()
  • Method Details

    • getXAConn

      @Produces @RequestScoped public XAConnection getXAConn()
      Get a XA connection to the database configured with OTMM(MicroTx)
      Returns:
      XA Connection to the database
    • get

      public XAConnection get()
      Get a XA connection to the database configured with OTMM(MicroTx)
      Specified by:
      get in interface Supplier<XAConnection>
      Returns:
      XA Connection to the database