org.objectweb.joram.client.jms
Class XAResourceMngr

java.lang.Object
  extended byorg.objectweb.joram.client.jms.XAResourceMngr

public class XAResourceMngr
extends java.lang.Object

Utility class used by XA connections for managing XA resources.


Field Summary
static int PREPARED
          Prepared transaction.
static int ROLLBACK_ONLY
          Failed transaction.
static int STARTED
          Transaction active.
static int SUCCESS
          Transaction successful.
static int SUSPENDED
          Transaction suspended.
 
Constructor Summary
XAResourceMngr(Connection cnx)
          Creates a XAResourceMngr instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Resource managers are equal if they belong to the same connection.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTED

public static final int STARTED
Transaction active.

See Also:
Constant Field Values

SUSPENDED

public static final int SUSPENDED
Transaction suspended.

See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
Transaction successful.

See Also:
Constant Field Values

ROLLBACK_ONLY

public static final int ROLLBACK_ONLY
Failed transaction.

See Also:
Constant Field Values

PREPARED

public static final int PREPARED
Prepared transaction.

See Also:
Constant Field Values
Constructor Detail

XAResourceMngr

public XAResourceMngr(Connection cnx)
Creates a XAResourceMngr instance.

Parameters:
cnx - The connection this manager belongs to.
Method Detail

equals

public boolean equals(java.lang.Object o)
Resource managers are equal if they belong to the same connection.



Copyright ? 2004 Scalagent - All rights reserved