public final class EJBClientManagedTransactionContext extends EJBClientTransactionContext
TransactionManager.| Modifier and Type | Method and Description |
|---|---|
protected TransactionID |
getAssociatedTransactionID(EJBClientInvocationContext invocationContext)
Get the transaction ID to associate with the invocation.
|
static XAResource |
getEJBXAResourceForRecovery(EJBReceiverContext receiverContext,
String transactionOriginNodeIdentifier)
Returns a EJB
XAResource which can be used *only* during transaction recovery process |
protected String |
getTransactionNode()
Get the node to which this transaction is pinned, if any.
|
static boolean |
isEJBXAResourceClass(String className)
Returns true if the passed
className corresponds to the fully qualified classname of any of the known EJB XAResource(s). |
create, createLocal, getCurrent, getUserTransaction, requireCurrent, setGlobalContext, setSelectorgetAttachment, getAttachments, putAttachment, putAttachmentIfAbsent, removeAttachment, removeAttachment, replaceAttachment, replaceAttachmentprotected TransactionID getAssociatedTransactionID(EJBClientInvocationContext invocationContext) throws Exception
EJBClientTransactionContextgetAssociatedTransactionID in class EJBClientTransactionContextinvocationContext - the invocation contextnull for noneException - if an exception occursprotected String getTransactionNode()
EJBClientTransactionContextgetTransactionNode in class EJBClientTransactionContextnull if the transaction is not pinnedpublic static XAResource getEJBXAResourceForRecovery(EJBReceiverContext receiverContext, String transactionOriginNodeIdentifier)
XAResource which can be used *only* during transaction recovery processtransactionOriginNodeIdentifier - The node identifier of the node from which the transaction originatedreceiverContext - The EJB receiver context of the target EJB receiver/server which will be used to fetch the Xid(s)
which need to be recoveredpublic static boolean isEJBXAResourceClass(String className)
className corresponds to the fully qualified classname of any of the known EJB XAResource(s).
Else returns false.className - The fully qualified name of the class which is being checked for being a EJB XAResourceCopyright © 2016 JBoss by Red Hat. All rights reserved.