Method Summary |
|
public void | addChange(Change change) This method adds an object to the list of changes. |
public void | commit(Xid xid, boolean b) This method is called to commit the specified transaction. |
public void | end(Xid xid, int i) The resource manager has dissociated this object from the transaction. |
public void | forget(Xid xid) The transaction has been completed and must be forgotten. |
public static ChangeLog | getInstance() This method returns a reference to the singelton instance. |
public int | getTransactionTimeout() This method returns the transaction timeout for this object. |
public static synchronized void | init(Class configInfo) This method is responsible for instanciating the MessageChangeLog. |
public boolean | isSameRM(XAResource xAResource) This method returns true if this object is the resource manager getting
queried. |
public int | prepare(Xid xid) This is called before a transaction is committed. |
public Xid[] | recover(int i) This method returns the list of transaction branches for this resource
manager. |
public void | rollback(Xid xid) This method is called to roll back the specified transaction. |
public boolean | setTransactionTimeout(int i) This method sets the transaction timeout for this resource manager. |
public void | start() This method starts the change log processing the changes. |
public void | start(Xid xid, int i) This method is called to start a transaction on a resource manager. |
public static void | terminate() The singleton method used to terminate the change log. |
protected void | terminateChangeLog() This method is called to terminate the change log. |