Package | Description |
---|---|
javax.resource.spi |
The javax.resource.spi package contains APIs for the system
contracts defined in the Java EE Connector Architecture specification.
|
javax.transaction.xa |
This package contains the classes and interfaces that define the interaction
between the transaction manager and the resources it manages.
|
org.apache.activemq.artemis.core.client.impl | |
org.apache.activemq.artemis.core.exception | |
org.apache.activemq.artemis.core.protocol.core.impl | |
org.apache.activemq.artemis.spi.core.remoting | |
org.jboss.ejb.client | |
org.jboss.ejb.client.remoting | |
org.jboss.jbossts.txbridge.inbound | |
org.jboss.jbossts.txbridge.outbound |
Modifier and Type | Method and Description |
---|---|
void |
XATerminator.commit(Xid xid,
boolean onePhase)
Commits the global transaction specified by xid.
|
void |
XATerminator.forget(Xid xid)
Tells the resource manager to forget about a heuristically
completed transaction branch.
|
int |
XATerminator.prepare(Xid xid)
Ask the resource manager to prepare for a transaction commit
of the transaction specified in xid.
|
Xid[] |
XATerminator.recover(int flag)
Obtains a list of prepared transaction branches from a resource
manager.
|
void |
XATerminator.rollback(Xid xid)
Informs the resource manager to roll back work done on behalf
of a transaction branch.
|
Modifier and Type | Method and Description |
---|---|
void |
XAResource.commit(Xid xid,
boolean onePhase)
Commit the work done on this resource in the given transaction.
|
void |
XAResource.end(Xid xid,
int flags)
Called to disassociate the resource from a transaction.
|
void |
XAResource.forget(Xid xid)
Tells the resource manager to forget about a heuristic decision.
|
int |
XAResource.getTransactionTimeout()
Get the current transaction timeout value for this resource.
|
boolean |
XAResource.isSameRM(XAResource xaRes)
Tells the caller if this resource has the same resource manager
as the argument resource.
|
int |
XAResource.prepare(Xid xid)
Prepare to commit the work done on this resource in the given
transaction.
|
Xid[] |
XAResource.recover(int flag)
Return a list of transactions that are in a prepared or heuristically
state.
|
void |
XAResource.rollback(Xid xid)
Roll back the work done on this resource in the given transaction.
|
boolean |
XAResource.setTransactionTimeout(int seconds)
Set the transaction timeout value for this resource.
|
void |
XAResource.start(Xid xid,
int flags)
Called to associate the resource with a transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientSessionImpl.commit(Xid xid,
boolean onePhase) |
void |
ClientSessionImpl.end(Xid xid,
int flags) |
void |
ClientSessionImpl.forget(Xid xid) |
int |
ClientSessionImpl.getTransactionTimeout() |
boolean |
ClientSessionImpl.isSameRM(XAResource xares) |
int |
ClientSessionImpl.prepare(Xid xid) |
Xid[] |
ClientSessionImpl.recover(int flags) |
void |
ClientSessionImpl.rollback(Xid xid) |
boolean |
ClientSessionImpl.setTransactionTimeout(int seconds) |
void |
ClientSessionImpl.start(Xid xid,
int flags) |
Modifier and Type | Class and Description |
---|---|
class |
ActiveMQXAException |
Modifier and Type | Method and Description |
---|---|
void |
ActiveMQSessionContext.xaCommit(Xid xid,
boolean onePhase) |
void |
ActiveMQSessionContext.xaEnd(Xid xid,
int flags) |
void |
ActiveMQSessionContext.xaForget(Xid xid) |
int |
ActiveMQSessionContext.xaPrepare(Xid xid) |
void |
ActiveMQSessionContext.xaRollback(Xid xid,
boolean wasStarted) |
void |
ActiveMQSessionContext.xaStart(Xid xid,
int flags) |
Modifier and Type | Method and Description |
---|---|
abstract void |
SessionContext.xaCommit(Xid xid,
boolean onePhase) |
abstract void |
SessionContext.xaEnd(Xid xid,
int flags) |
abstract void |
SessionContext.xaForget(Xid xid) |
abstract int |
SessionContext.xaPrepare(Xid xid) |
abstract void |
SessionContext.xaRollback(Xid xid,
boolean wasStarted) |
abstract void |
SessionContext.xaStart(Xid xid,
int flags) |
Modifier and Type | Method and Description |
---|---|
protected void |
EJBReceiver.sendCommit(EJBReceiverContext context,
TransactionID transactionID,
boolean onePhase)
Send a transaction-commit message for the given transaction ID.
|
protected void |
EJBReceiver.sendForget(EJBReceiverContext context,
TransactionID transactionID)
Send a transaction-forget message for the given transaction ID.
|
protected int |
EJBReceiver.sendPrepare(EJBReceiverContext context,
TransactionID transactionID)
Send a transaction-prepare message for the given transaction ID.
|
protected Xid[] |
EJBReceiver.sendRecover(EJBReceiverContext receiverContext,
String txParentNodeName,
int recoveryFlags)
Send a transaction recover message with the
recoveryFlags . |
protected void |
EJBReceiver.sendRollback(EJBReceiverContext context,
TransactionID transactionID)
Send a transaction-rollback message for the given transaction ID.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RemotingConnectionEJBReceiver.sendCommit(EJBReceiverContext receiverContext,
TransactionID transactionID,
boolean onePhase) |
protected void |
RemotingConnectionEJBReceiver.sendForget(EJBReceiverContext receiverContext,
TransactionID transactionID) |
protected int |
RemotingConnectionEJBReceiver.sendPrepare(EJBReceiverContext receiverContext,
TransactionID transactionID) |
protected Xid[] |
RemotingConnectionEJBReceiver.sendRecover(EJBReceiverContext receiverContext,
String txParentNodeName,
int recoveryFlags) |
protected void |
RemotingConnectionEJBReceiver.sendRollback(EJBReceiverContext receiverContext,
TransactionID transactionID) |
Modifier and Type | Method and Description |
---|---|
static InboundBridge |
InboundBridgeManager.getInboundBridge()
Return an InboundBridge instance that maps the current Thread's WS transaction context
to a JTA context.
|
void |
InboundBridge.setRollbackOnly() |
void |
InboundBridge.start()
Associate the JTA transaction to the current Thread.
|
void |
InboundBridge.stop()
Disassociate the JTA transaction from the current Thread.
|
Modifier and Type | Method and Description |
---|---|
void |
BridgeXAResource.commit(Xid xid,
boolean onePhase)
Commits the global transaction specified by xid.
|
void |
BridgeXAResource.end(Xid xid,
int flags)
Ends the work performed on behalf of a transaction branch.
|
void |
BridgeXAResource.forget(Xid xid) |
int |
BridgeXAResource.getTransactionTimeout()
Obtains the current transaction timeout value set for this XAResource instance.
|
boolean |
BridgeXAResource.isSameRM(XAResource xaResource) |
int |
BridgeXAResource.prepare(Xid xid)
Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.
|
Xid[] |
BridgeXAResource.recover(int flag)
Obtains a list of prepared transaction branches from a resource manager.
|
void |
BridgeXAResource.rollback(Xid xid)
Informs the resource manager to roll back work done on behalf of a transaction branch.
|
boolean |
BridgeXAResource.setTransactionTimeout(int seconds)
Sets the current transaction timeout value for this XAResource instance.
|
void |
BridgeXAResource.start(Xid xid,
int flags)
Starts work on behalf of a transaction branch specified in xid.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.