public final class EJBClientUserTransactionContext extends EJBClientTransactionContext
| Constructor and Description |
|---|
EJBClientUserTransactionContext() |
| Modifier and Type | Method and Description |
|---|---|
protected UserTransactionID |
getAssociatedTransactionID(EJBClientInvocationContext invocationContext)
Get the transaction ID to associate with the invocation.
|
protected String |
getTransactionNode()
Get the node to which this transaction is pinned, if any.
|
protected UserTransaction |
getUserTransaction(String nodeName)
Get a
UserTransaction instance affiliated with a specific remote node to control the transaction
state. |
create, createLocal, getCurrent, requireCurrent, setGlobalContext, setSelectorgetAttachment, putAttachment, putAttachmentIfAbsent, removeAttachment, removeAttachment, replaceAttachment, replaceAttachmentprotected UserTransactionID getAssociatedTransactionID(EJBClientInvocationContext invocationContext)
getAssociatedTransactionID in class EJBClientTransactionContextinvocationContext - the invocation contextnull for noneprotected String getTransactionNode()
EJBClientTransactionContextgetTransactionNode in class EJBClientTransactionContextnull if the transaction is not pinnedprotected UserTransaction getUserTransaction(String nodeName)
UserTransaction instance affiliated with a specific remote node to control the transaction
state. The instance is only usable while there is an active connection with the given peer.getUserTransaction in class EJBClientTransactionContextnodeName - the remote node nameCopyright © 2012 JBoss by Red Hat. All Rights Reserved.