Class Transaction
java.lang.Object
org.eclipse.jetty.plus.jndi.NamingEntry
org.eclipse.jetty.plus.jndi.Transaction
- Direct Known Subclasses:
 Transaction, Transaction
Class to represent a JTA UserTransaction impl.
- 
Field Summary
FieldsFields inherited from class NamingEntry
__contextName, _jndiName, _namingEntryNameString, _objectNameString, _scope - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransaction(String scope, Object entry) Transaction(String scope, Reference userTransactionRef) Transaction(String scope, Referenceable userTransactionReferenceable)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidAllow other bindings of UserTransaction.static voidbindTransactionToENC(String scope) voidUnbind this Transaction from a java:compMethods inherited from class NamingEntry
getJndiName, getJndiNameInScope, getNamingEntryNameInScope, release, save, toString, toStringMetaData 
- 
Field Details
- 
USER_TRANSACTION
- See Also:
 
 
 - 
 - 
Constructor Details
- 
Transaction
- Parameters:
 scope- the environment in which to bind the UserTransactionentry- a UserTransaction or a Reference to a UserTransaction- Throws:
 NamingException- if there was a problem re
 - 
Transaction
- Parameters:
 scope- the environment in which to bind the UserTransactionuserTransactionRef- a Reference to a UserTransaction- Throws:
 NamingException- if there was a problem re
 - 
Transaction
- Parameters:
 scope- the environment in which to bind the UserTransactionuserTransactionReferenceable- aReferenceableto a UserTransaction- Throws:
 NamingException- if there was a problem re
 
 - 
 - 
Method Details
- 
bindTransactionToENC
- Throws:
 NamingException
 - 
bindToENC
Allow other bindings of UserTransaction. These should be in ADDITION to java:comp/UserTransaction- Overrides:
 bindToENCin classNamingEntry- Parameters:
 localName- the local name to bind- Throws:
 NamingException- if unable to bind- See Also:
 
 - 
unbindENC
public void unbindENC()Unbind this Transaction from a java:comp- Overrides:
 unbindENCin classNamingEntry
 
 -