org.codehaus.activemq.store.vm
Class VMPreparedTransactionStoreImpl

java.lang.Object
  extended byorg.codehaus.activemq.store.vm.VMPreparedTransactionStoreImpl
All Implemented Interfaces:
PreparedTransactionStore, Service

public class VMPreparedTransactionStoreImpl
extends Object
implements PreparedTransactionStore

Version:
$Revision: 1.1 $

Constructor Summary
VMPreparedTransactionStoreImpl()
           
 
Method Summary
 ActiveMQXid[] getXids()
           
 void loadPreparedTransactions(TransactionManager transactionManager)
          Called on recovery to re-load any transactions which have prepared but not yet commited
 void put(ActiveMQXid xid, Transaction transaction)
           
 void remove(ActiveMQXid xid)
           
 void start()
          Called to start the service
 void stop()
          Called to shutdown the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMPreparedTransactionStoreImpl

public VMPreparedTransactionStoreImpl()
Method Detail

getXids

public ActiveMQXid[] getXids()
Specified by:
getXids in interface PreparedTransactionStore

remove

public void remove(ActiveMQXid xid)
Specified by:
remove in interface PreparedTransactionStore

put

public void put(ActiveMQXid xid,
                Transaction transaction)
Specified by:
put in interface PreparedTransactionStore

loadPreparedTransactions

public void loadPreparedTransactions(TransactionManager transactionManager)
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 -

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-2005 Protique, Ltd.. All Rights Reserved.