Class Transaction

java.lang.Object
org.eclipse.jetty.plus.jndi.NamingEntry
org.eclipse.jetty.plus.jndi.Transaction
org.eclipse.jetty.ee11.plus.jndi.Transaction

public class Transaction extends org.eclipse.jetty.plus.jndi.Transaction
Class to represent a JTA UserTransaction impl.
  • Field Summary

    Fields inherited from class org.eclipse.jetty.plus.jndi.Transaction

    USER_TRANSACTION

    Fields inherited from class org.eclipse.jetty.plus.jndi.NamingEntry

    __contextName, _jndiName, _namingEntryNameString, _objectNameString, _scope
  • Constructor Summary

    Constructors
    Constructor
    Description
    Transaction(String scope, jakarta.transaction.UserTransaction userTransaction)
     
  • Method Summary

    Methods inherited from class org.eclipse.jetty.plus.jndi.Transaction

    bindToENC, bindTransactionToENC, unbindENC

    Methods inherited from class org.eclipse.jetty.plus.jndi.NamingEntry

    getJndiName, getJndiNameInScope, getNamingEntryNameInScope, release, save, toString, toStringMetaData

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Transaction

      public Transaction(String scope, jakarta.transaction.UserTransaction userTransaction) throws NamingException
      Parameters:
      scope - the scope, usually an environment like ee9, ee10, ee11
      userTransaction - the UserTransaction
      Throws:
      NamingException - if there was a problem registering the transaction