Package | Description |
---|---|
org.jboss.ejb.client |
Modifier and Type | Class and Description |
---|---|
class |
EJBClientManagedTransactionContext
A transaction context for environments with a
TransactionManager . |
class |
EJBClientUserTransactionContext
The transaction context for manual control of transactions on a remote node.
|
Modifier and Type | Method and Description |
---|---|
static EJBClientTransactionContext |
EJBClientTransactionContext.create(TransactionManager transactionManager,
TransactionSynchronizationRegistry synchronizationRegistry)
Create a transaction context which is controlled by an actual transaction manager.
|
static EJBClientTransactionContext |
EJBClientTransactionContext.createLocal()
Create a local client transaction context which is controlled directly via
UserTransaction methods. |
static EJBClientTransactionContext |
EJBClientTransactionContext.getCurrent()
Get the current client transaction context.
|
static EJBClientTransactionContext |
EJBClientTransactionContext.requireCurrent()
Get the current client transaction context, throwing an exception if one is not available.
|
Modifier and Type | Method and Description |
---|---|
static void |
EJBClientTransactionContext.setGlobalContext(EJBClientTransactionContext context)
Set the singleton, global transaction context.
|
Modifier and Type | Method and Description |
---|---|
static void |
EJBClientTransactionContext.setSelector(ContextSelector<EJBClientTransactionContext> selector)
Set the client transaction context selector.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.