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, toString
public static final String USER_TRANSACTION
public Transaction(UserTransaction userTransaction) throws NamingException
NamingException
public static void bindToENC() throws NamingException
NamingException
public void bindToENC(String localName) throws NamingException
bindToENC
in class NamingEntry
localName
- the local name to bindNamingException
- if unable to bindNamingEntry.bindToENC(java.lang.String)
public void unbindENC()
unbindENC
in class NamingEntry
Copyright © 1995-2015 Webtide. All Rights Reserved.