org.codehaus.activemq.store.jdbm
Class JdbmPreparedTransactionStore
java.lang.Object
org.codehaus.activemq.store.jdbm.JdbmPreparedTransactionStore
- All Implemented Interfaces:
- PreparedTransactionStore, Service
- public class JdbmPreparedTransactionStore
- extends Object
- implements PreparedTransactionStore
- Version:
- $Revision: 1.3 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbmPreparedTransactionStore
public JdbmPreparedTransactionStore(jdbm.btree.BTree database)
getXids
public ActiveMQXid[] getXids()
throws XAException
- Specified by:
getXids
in interface PreparedTransactionStore
- Throws:
XAException
remove
public void remove(ActiveMQXid xid)
throws XAException
- Specified by:
remove
in interface PreparedTransactionStore
- Throws:
XAException
put
public void put(ActiveMQXid xid,
Transaction transaction)
throws XAException
- Specified by:
put
in interface PreparedTransactionStore
- Throws:
XAException
loadPreparedTransactions
public void loadPreparedTransactions(TransactionManager transactionManager)
throws XAException
- Description copied from interface:
PreparedTransactionStore
- Called on recovery to re-load any transactions which have prepared but
not yet commited
- Specified by:
loadPreparedTransactions
in interface PreparedTransactionStore
- Parameters:
transactionManager
-
- Throws:
XAException
start
public void start()
throws JMSException
- Description copied from interface:
Service
- Called to start the service
- Specified by:
start
in interface Service
- Throws:
JMSException
stop
public void stop()
throws JMSException
- Description copied from interface:
Service
- Called to shutdown the service
- Specified by:
stop
in interface Service
- Throws:
JMSException
Copyright © 2004 Protique, Ltd.. All Rights Reserved.