Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.sandesha2.storage.inmemory
Class InMemoryTransaction

    java.lang.Object
      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)`
`java.lang.Thread` | `getThread()` Get the thread which this transaction is associated with.
`boolean` | `isActive()`
`void` | `rollback()`
`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)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### setSentMessages

    public void setSentMessages(boolean sentMessages)

### getThread

    public java.lang.Thread getThread()

  Get the thread which this transaction is associated with.

  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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