org.objectweb.joram.shared.client.XACnxRollback Class Reference

Inherits org.objectweb.joram.shared.client.AbstractJmsRequest.

Inheritance diagram for org.objectweb.joram.shared.client.XACnxRollback:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.shared.client.XACnxRollback:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setBQ (byte[] bq)
byte[] getBQ ()
void setFI (int fi)
int getFI ()
void setGTI (byte[] gti)
byte[] getGTI ()
void add (String target, Vector ids, boolean queueMode)
Enumeration getQueues ()
Vector getQueueIds (String queue)
Enumeration getSubs ()
void setQDenyings (Hashtable qDenyings)
void setSubDenyings (Hashtable subDenyings)
Vector getSubIds (String sub)
 XACnxRollback (byte[] bq, int fi, byte[] gti)
 XACnxRollback ()
void writeTo (OutputStream os) throws IOException
void readFrom (InputStream is) throws IOException

Protected Member Functions

int getClassId ()

Detailed Description

An XACnxRollback instance is used by an XAConnection for rolling back the operations performed during a transaction.

Definition at line 41 of file XACnxRollback.java.


Constructor & Destructor Documentation

org.objectweb.joram.shared.client.XACnxRollback.XACnxRollback ( byte[]  bq,
int  fi,
byte[]  gti 
)

Constructs an XACnxRollback instance.

Parameters:
bq Transaction branch qualifier.
fi Transaction identifier format.
gti Global transaction identifier.

Definition at line 157 of file XACnxRollback.java.

org.objectweb.joram.shared.client.XACnxRollback.XACnxRollback (  ) 

Constructs an XACnxRollback instance.

Definition at line 167 of file XACnxRollback.java.


Member Function Documentation

byte [] org.objectweb.joram.shared.client.XACnxRollback.getBQ (  ) 

Returns the transaction branch qualifier.

Definition at line 53 of file XACnxRollback.java.

int org.objectweb.joram.shared.client.XACnxRollback.getFI (  ) 

Returns the transaction identifier format.

Definition at line 65 of file XACnxRollback.java.

byte [] org.objectweb.joram.shared.client.XACnxRollback.getGTI (  ) 

Returns the global transaction identifier.

Definition at line 77 of file XACnxRollback.java.

void org.objectweb.joram.shared.client.XACnxRollback.add ( String  target,
Vector  ids,
boolean  queueMode 
)

Adds a vector of denied messages' identifiers.

Parameters:
target Name of the queue or of the subscription where denying the messages.
ids Vector of message identifiers.
queueMode true if the messages have to be denied on a queue.

Definition at line 95 of file XACnxRollback.java.

Referenced by org.objectweb.joram.client.jms.XAResourceMngr.rollback().

Enumeration org.objectweb.joram.shared.client.XACnxRollback.getQueues (  ) 

Returns the queues enumeration.

Definition at line 109 of file XACnxRollback.java.

Vector org.objectweb.joram.shared.client.XACnxRollback.getQueueIds ( String  queue  ) 

Returns the vector of msg identifiers for a given queue.

Definition at line 116 of file XACnxRollback.java.

Enumeration org.objectweb.joram.shared.client.XACnxRollback.getSubs (  ) 

Returns the subscriptions enumeration.

Definition at line 123 of file XACnxRollback.java.

void org.objectweb.joram.shared.client.XACnxRollback.setQDenyings ( Hashtable  qDenyings  ) 

Sets the queue denyings table.

Definition at line 130 of file XACnxRollback.java.

void org.objectweb.joram.shared.client.XACnxRollback.setSubDenyings ( Hashtable  subDenyings  ) 

Sets the sub denyings table.

Definition at line 135 of file XACnxRollback.java.

Vector org.objectweb.joram.shared.client.XACnxRollback.getSubIds ( String  sub  ) 

Returns the vector of msg identifiers for a given subscription.

Definition at line 140 of file XACnxRollback.java.

void org.objectweb.joram.shared.client.XACnxRollback.writeTo ( OutputStream  os  )  throws IOException

The object implements the writeTo method to write its contents to the output stream.

Parameters:
os the stream to write the object to

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsRequest.

Definition at line 179 of file XACnxRollback.java.

void org.objectweb.joram.shared.client.XACnxRollback.readFrom ( InputStream  is  )  throws IOException

The object implements the readFrom method to restore its contents from the input stream.

Parameters:
is the stream to read data from in order to restore the object

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsRequest.

Definition at line 216 of file XACnxRollback.java.

References org.objectweb.joram.shared.client.AbstractJmsRequest.target.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:21:06 2008 for joram by  doxygen 1.5.0