Top Description Fields Constructors Methods
org.eclipse.jetty.ee10.plus.jndi

public Class Transaction

extends Transaction
Class Inheritance
Imports
javax.naming.NamingException, jakarta.transaction.UserTransaction, org.slf4j.Logger, .LoggerFactory

Transaction Class to represent a JTA UserTransaction impl.

Field Summary

Modifier and TypeField and Description
private static final Logger
Inherited from org.eclipse.jetty.plus.jndi.Transaction:
USER_TRANSACTION

Constructor Summary

AccessConstructor and Description
public
Transaction(String
the scope, usually an environment like ee9, ee10
scope
,
UserTransaction
the UserTransaction
userTransaction
)

Method Summary

Inherited from org.eclipse.jetty.plus.jndi.Transaction:
bindToENCbindTransactionToENCunbindENC

Field Detail

LOGback to summary
private static final Logger LOG

Hides org.eclipse.jetty.plus.jndi.Transaction.LOG.

Constructor Detail

Transactionback to summary
public Transaction(String scope, UserTransaction userTransaction) throws NamingException
Parameters
scope:String

the scope, usually an environment like ee9, ee10

userTransaction:UserTransaction

the UserTransaction

Exceptions
NamingException:
if there was a problem registering the transaction