org.sourceforge.jemm.client
Class AlwaysRefreshObjectDatabase

java.lang.Object
  extended by org.sourceforge.jemm.client.DelegatingObjectDatabase
      extended by org.sourceforge.jemm.client.AlwaysRefreshObjectDatabase
All Implemented Interfaces:
ObjectDatabase, ObjectSource, TypeRequestHandler

public class AlwaysRefreshObjectDatabase
extends DelegatingObjectDatabase

An ObjectDatabase delegate that calls getRefreshedObject when getObject is called.

Author:
Paul Keeble

Constructor Summary
AlwaysRefreshObjectDatabase(ObjectDatabase database)
           
 
Method Summary
 JEMMObject getObject(ID jemmId)
          Retrieves an object's information from the database or a local cache if the object has already been retrieved and still in memory.
 
Methods inherited from class org.sourceforge.jemm.client.DelegatingObjectDatabase
acquireLock, getClassInfo, getEnumInfo, getRefreshedObject, getRoot, newObject, processTypeRequest, refreshObject, registerClass, registerEnum, releaseLock, removeLockAcquiredListener, setClientLockAcquiredListener, setRoot, setRootIfNull, synchroniseObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysRefreshObjectDatabase

public AlwaysRefreshObjectDatabase(ObjectDatabase database)
Method Detail

getObject

public JEMMObject getObject(ID jemmId)
Description copied from interface: ObjectDatabase
Retrieves an object's information from the database or a local cache if the object has already been retrieved and still in memory.

Specified by:
getObject in interface ObjectDatabase
Specified by:
getObject in interface ObjectSource
Overrides:
getObject in class DelegatingObjectDatabase
Parameters:
jemmId - The id of the object to retrieve.
Returns:
The object information (class type, field values etc.).


Copyright © 2009. All Rights Reserved.