org.jboss.ejb.client
Class EJBClientManagedTransactionContext
java.lang.Object
org.jboss.ejb.client.Attachable
org.jboss.ejb.client.EJBClientTransactionContext
org.jboss.ejb.client.EJBClientManagedTransactionContext
public final class EJBClientManagedTransactionContext
- extends EJBClientTransactionContext
A transaction context for environments with a TransactionManager
.
- Author:
- David M. Lloyd
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAssociatedTransactionID
protected TransactionID getAssociatedTransactionID(EJBClientInvocationContext invocationContext)
throws Exception
- Description copied from class:
EJBClientTransactionContext
- Get the transaction ID to associate with the invocation. The transaction ID typically comes from the current
thread's transaction context.
- Specified by:
getAssociatedTransactionID
in class EJBClientTransactionContext
- Parameters:
invocationContext
- the invocation context
- Returns:
- the transaction ID to associate, or
null
for none
- Throws:
Exception
- if an exception occurs
getTransactionNode
protected String getTransactionNode()
- Description copied from class:
EJBClientTransactionContext
- Get the node to which this transaction is pinned, if any.
- Specified by:
getTransactionNode
in class EJBClientTransactionContext
- Returns:
- the node name or
null
if the transaction is not pinned
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.