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.hornetq.core.client.impl | |
org.hornetq.core.exception | |
org.hornetq.jms.server.recovery |
This package is used to locate resources and connectors along the cluster set
I - JCA Connection Factories or InBound MDBs will call HornetQRegistryBase::register(XARecoveryConfig)
II - For each XARecoveryConfig the RegistryBase will instantiate a ResourceDiscoveryUnit which will
connect using that configuration and inform the Registry of any topology members
III - For each topology member found on the DiscoveryUnits, the RegistryBase will registry a HornetQResourceRecovery
that will exist per server
|
org.jboss.ejb.client | |
org.jboss.ejb.client.remoting | |
org.jboss.jbossts.txbridge.inbound | |
org.jboss.jbossts.txbridge.outbound | |
org.jboss.resource.adapter.jms |
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 |
DelegatingSession.commit(Xid xid,
boolean onePhase) |
void |
DelegatingSession.end(Xid xid,
int flags) |
void |
DelegatingSession.forget(Xid xid) |
int |
DelegatingSession.getTransactionTimeout() |
boolean |
DelegatingSession.isSameRM(XAResource xares) |
int |
DelegatingSession.prepare(Xid xid) |
Xid[] |
DelegatingSession.recover(int flag) |
void |
DelegatingSession.rollback(Xid xid) |
boolean |
DelegatingSession.setTransactionTimeout(int seconds) |
void |
DelegatingSession.start(Xid xid,
int flags) |
Modifier and Type | Class and Description |
---|---|
class |
HornetQXAException
A HornetQXAException
|
Modifier and Type | Method and Description |
---|---|
protected XAException |
HornetQXAResourceWrapper.check(XAException e)
Check whether an XAException is fatal.
|
Modifier and Type | Method and Description |
---|---|
protected XAException |
HornetQXAResourceWrapper.check(XAException e)
Check whether an XAException is fatal.
|
Modifier and Type | Method and Description |
---|---|
protected XAException |
HornetQXAResourceWrapper.check(XAException e)
Check whether an XAException is fatal.
|
void |
HornetQXAResourceWrapper.commit(Xid xid,
boolean onePhase) |
void |
HornetQXAResourceWrapper.end(Xid xid,
int flags) |
void |
HornetQXAResourceWrapper.forget(Xid xid) |
int |
HornetQXAResourceWrapper.getTransactionTimeout() |
boolean |
HornetQXAResourceWrapper.isSameRM(XAResource xaRes) |
int |
HornetQXAResourceWrapper.prepare(Xid xid) |
Xid[] |
HornetQXAResourceWrapper.recover(int flag) |
void |
HornetQXAResourceWrapper.rollback(Xid xid) |
boolean |
HornetQXAResourceWrapper.setTransactionTimeout(int seconds) |
void |
HornetQXAResourceWrapper.start(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.
|
Modifier and Type | Method and Description |
---|---|
void |
JmsXAResource.commit(Xid xid,
boolean onePhase) |
void |
JmsXAResource.end(Xid xid,
int flags) |
void |
JmsXAResource.forget(Xid xid) |
int |
JmsXAResource.getTransactionTimeout() |
boolean |
JmsXAResource.isSameRM(XAResource xaRes) |
int |
JmsXAResource.prepare(Xid xid) |
Xid[] |
JmsXAResource.recover(int flag) |
void |
JmsXAResource.rollback(Xid xid) |
boolean |
JmsXAResource.setTransactionTimeout(int seconds) |
void |
JmsXAResource.start(Xid xid,
int flags) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.