org.jboss.messaging.core.tx
Class TransactionRepository
java.lang.Object
org.jboss.messaging.core.tx.TransactionRepository
- public class TransactionRepository
- extends java.lang.Object
This class maintains JMS Server local transactions.
- Version:
- $Revision 1.1 $
$Id$
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
globalToLocalMap
protected java.util.Map globalToLocalMap
persistenceManager
protected PersistenceManager persistenceManager
idManager
protected IdManager idManager
TransactionRepository
public TransactionRepository()
throws java.lang.Exception
start
public void start(PersistenceManager persistenceManager)
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreparedTransactions
public java.util.List getPreparedTransactions()
loadPreparedTransactions
public void loadPreparedTransactions()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreparedTx
public Transaction getPreparedTx(javax.transaction.xa.Xid xid)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteTransaction
public void deleteTransaction(Transaction transaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
createTransaction
public Transaction createTransaction(javax.transaction.xa.Xid xid)
throws java.lang.Exception
- Throws:
java.lang.Exception
createTransaction
public Transaction createTransaction()
throws java.lang.Exception
- Throws:
java.lang.Exception
getNumberOfRegisteredTransactions
public int getNumberOfRegisteredTransactions()
- To be used only by testcases
Copyright © 2006 JBoss Inc. All Rights Reserved.