|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.client.Attachable
org.jboss.ejb.client.EJBClientTransactionContext
org.jboss.ejb.client.EJBClientManagedTransactionContext
public final class EJBClientManagedTransactionContext
A transaction context for environments with a TransactionManager.
| Method Summary | |
|---|---|
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). |
| Methods inherited from class org.jboss.ejb.client.EJBClientTransactionContext |
|---|
create, createLocal, getCurrent, getUserTransaction, requireCurrent, setGlobalContext, setSelector |
| Methods inherited from class org.jboss.ejb.client.Attachable |
|---|
getAttachment, getAttachments, putAttachment, putAttachmentIfAbsent, removeAttachment, removeAttachment, replaceAttachment, replaceAttachment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected TransactionID getAssociatedTransactionID(EJBClientInvocationContext invocationContext)
throws Exception
EJBClientTransactionContext
getAssociatedTransactionID in class EJBClientTransactionContextinvocationContext - the invocation context
null for none
Exception - if an exception occursprotected String getTransactionNode()
EJBClientTransactionContext
getTransactionNode in class EJBClientTransactionContextnull if the transaction is not pinned
public static XAResource getEJBXAResourceForRecovery(EJBReceiverContext receiverContext,
String transactionOriginNodeIdentifier)
XAResource which can be used *only* during transaction recovery process
transactionOriginNodeIdentifier - 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 recovered
public 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 XAResource
|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||