public class Transaction extends NamingEntry
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_TRANSACTION |
__contextName, _jndiName, _namingEntryNameString, _objectNameString, _scope| Constructor and Description |
|---|
Transaction(UserTransaction userTransaction) |
| Modifier and Type | Method and Description |
|---|---|
static void |
bindToENC() |
void |
bindToENC(String localName)
Allow other bindings of UserTransaction.
|
void |
unbindENC()
Unbind this Transaction from a java:comp
|
getJndiName, getJndiNameInScope, release, save, toStringpublic static final String USER_TRANSACTION
public Transaction(UserTransaction userTransaction) throws NamingException
NamingExceptionpublic static void bindToENC()
throws NamingException
NamingExceptionpublic void bindToENC(String localName) throws NamingException
bindToENC in class NamingEntryNamingExceptionNamingEntry.bindToENC(java.lang.String)public void unbindENC()
unbindENC in class NamingEntryCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.