ojb.server
Class ObjectStateTable

java.lang.Object
  |
  +--ojb.server.ObjectStateTable

public class ObjectStateTable
extends java.lang.Object

Class declaration

Version:
%I%, %G%
Author:
 

Constructor Summary
ObjectStateTable()
          Creates new ObjectStateTable
 
Method Summary
 void checkpoint()
          perfom checkpoint for all tx-state in the table
 void commit()
          perform commit on all tx-states
 boolean contains(java.lang.Object key)
          retrieve an objects ObjectModification state from the hashtable
 java.util.Enumeration elements()
          Insert the method's description here.
 ObjectTransactionWrapper get(java.lang.Object key)
          retrieve an objects ObjectModification state from the hashtable
 void put(java.lang.Object key, ObjectTransactionWrapper modification)
          store an objects transactional state into the Hashtable
 void remove(java.lang.Object key)
          remove an objects entry from the Hashtable
 void rollback()
          perform rollback on all tx-states
 java.lang.String toString()
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectStateTable

public ObjectStateTable()
Creates new ObjectStateTable
Method Detail

checkpoint

public void checkpoint()
                throws TransactionAbortedException
perfom checkpoint for all tx-state in the table

commit

public void commit()
            throws TransactionAbortedException
perform commit on all tx-states

rollback

public void rollback()
perform rollback on all tx-states

remove

public void remove(java.lang.Object key)
remove an objects entry from the Hashtable

elements

public java.util.Enumeration elements()
Insert the method's description here. Creation date: (11.02.2001 12:45:08)
Returns:
java.lang.String

get

public ObjectTransactionWrapper get(java.lang.Object key)
retrieve an objects ObjectModification state from the hashtable

put

public void put(java.lang.Object key,
                ObjectTransactionWrapper modification)
store an objects transactional state into the Hashtable

toString

public java.lang.String toString()
Insert the method's description here. Creation date: (11.02.2001 12:45:08)
Overrides:
toString in class java.lang.Object
Returns:
java.lang.String

contains

public boolean contains(java.lang.Object key)
retrieve an objects ObjectModification state from the hashtable


Authors: Thomas Mahler, David Dixon-Peugh. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.1.120, 2001-05-12