org.objectweb.joram.shared.client
Class XACnxRollback
- java.io.Serializable
public class XACnxRollback
An XACnxRollback
instance is used by an
XAConnection
for rolling back the operations performed
during a transaction.
- Serialized Form
XACnxRollback() - Constructs an
XACnxRollback instance.
|
XACnxRollback(byte[] bq, int fi, byte[] gti) - Constructs an
XACnxRollback instance.
|
void | add(String target, Vector ids, boolean queueMode) - Adds a vector of denied messages' identifiers.
|
byte[] | getBQ() - Returns the transaction branch qualifier.
|
int | getFI() - Returns the transaction identifier format.
|
byte[] | getGTI() - Returns the global transaction identifier.
|
Vector | getQueueIds(String queue) - Returns the vector of msg identifiers for a given queue.
|
Enumeration | getQueues() - Returns the queues enumeration.
|
Vector | getSubIds(String sub) - Returns the vector of msg identifiers for a given subscription.
|
Enumeration | getSubs() - Returns the subscriptions enumeration.
|
void | setBQ(byte[] bq)
|
void | setFI(int fi)
|
void | setGTI(byte[] gti)
|
void | setQDenyings(Hashtable qDenyings) - Sets the queue denyings table.
|
void | setSubDenyings(Hashtable subDenyings) - Sets the sub denyings table.
|
Hashtable | soapCode()
|
static Object | soapDecode(Hashtable h)
|
XACnxRollback
public XACnxRollback()
Constructs an XACnxRollback
instance.
XACnxRollback
public XACnxRollback(byte[] bq,
int fi,
byte[] gti)
Constructs an XACnxRollback
instance.
bq
- Transaction branch qualifier.fi
- Transaction identifier format.gti
- Global transaction identifier.
add
public void add(String target,
Vector ids,
boolean queueMode)
Adds a vector of denied messages' identifiers.
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.
getBQ
public byte[] getBQ()
Returns the transaction branch qualifier.
getFI
public int getFI()
Returns the transaction identifier format.
getGTI
public byte[] getGTI()
Returns the global transaction identifier.
getQueueIds
public Vector getQueueIds(String queue)
Returns the vector of msg identifiers for a given queue.
getQueues
public Enumeration getQueues()
Returns the queues enumeration.
getSubIds
public Vector getSubIds(String sub)
Returns the vector of msg identifiers for a given subscription.
getSubs
public Enumeration getSubs()
Returns the subscriptions enumeration.
setBQ
public void setBQ(byte[] bq)
setFI
public void setFI(int fi)
setGTI
public void setGTI(byte[] gti)
setQDenyings
public void setQDenyings(Hashtable qDenyings)
Sets the queue denyings table.
setSubDenyings
public void setSubDenyings(Hashtable subDenyings)
Sets the sub denyings table.
soapDecode
public static Object soapDecode(Hashtable h)
- soapDecode in interface AbstractJmsRequest
Copyright B) 2004 Scalagent - All rights reserved