org.apache.sandesha2.storage.inmemory
Class InMemoryTransaction

java.lang.Object
  extended by org.apache.sandesha2.storage.inmemory.InMemoryTransaction
All Implemented Interfaces:
Transaction

public class InMemoryTransaction
extends java.lang.Object
implements Transaction

This class does not really implement transactions, but it is a good place to implement locking for the in memory storage manager.


Method Summary
 void commit()
           
 void enlist(RMBean bean)
           
 boolean isActive()
           
 void rollback()
           
 void setReceivedMessages(boolean receivedMessages)
           
 void setSentMessages(boolean sentMessages)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

commit

public void commit()
Specified by:
commit in interface Transaction

rollback

public void rollback()
Specified by:
rollback in interface Transaction

isActive

public boolean isActive()
Specified by:
isActive in interface Transaction

enlist

public void enlist(RMBean bean)
            throws SandeshaStorageException
Throws:
SandeshaStorageException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setReceivedMessages

public void setReceivedMessages(boolean receivedMessages)

setSentMessages

public void setSentMessages(boolean sentMessages)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.