org.objectweb.joram.client.jms
Class XAContext

java.lang.Object
  extended by org.objectweb.joram.client.jms.XAContext

 class XAContext
extends java.lang.Object

Utility class holding a resource's state during transaction progress.


Field Summary
(package private)  java.util.Hashtable deliveries
          Table holding the identifiers of the messages delivered per destination or subscription, in the transaction.
(package private)  java.util.Hashtable sendings
          Table holding the ProducerMessages produced in the transaction.
(package private)  int status
          The transaction status.
 
Constructor Summary
XAContext()
          Constructs an XAContext instance.
 
Method Summary
(package private)  void addDeliveries(java.util.Hashtable newDeliveries)
          Adds new deliveries occured within the resumed transaction.
(package private)  void addSendings(java.util.Hashtable newSendings)
          Adds new sendings performed by the resumed transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

int status
The transaction status.


sendings

java.util.Hashtable sendings
Table holding the ProducerMessages produced in the transaction.

Key: destination name
Object: ProducerMessages


deliveries

java.util.Hashtable deliveries
Table holding the identifiers of the messages delivered per destination or subscription, in the transaction.

Key: destination or subscription name
Object: corresponding MessageAcks instance

Constructor Detail

XAContext

XAContext()
Constructs an XAContext instance.

Method Detail

addSendings

void addSendings(java.util.Hashtable newSendings)
Adds new sendings performed by the resumed transaction.


addDeliveries

void addDeliveries(java.util.Hashtable newDeliveries)
Adds new deliveries occured within the resumed transaction.



Copyright © 2010 ScalAgent D.T.. All Rights Reserved.