Package org.eclipse.jetty.ee10.plus.jndi
Class Transaction
java.lang.Object
org.eclipse.jetty.plus.jndi.NamingEntry
org.eclipse.jetty.plus.jndi.Transaction
org.eclipse.jetty.ee10.plus.jndi.Transaction
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
ConstructorDescriptionTransaction
(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
-
Constructor Details
-
Transaction
public Transaction(String scope, jakarta.transaction.UserTransaction userTransaction) throws NamingException - Parameters:
scope
- the scope, usually an environment like ee9, ee10userTransaction
- the UserTransaction- Throws:
NamingException
- if there was a problem registering the transaction
-