br.shob.storage
Class StorageManager

java.lang.Object
  |
  +--br.shob.storage.StorageManager

public class StorageManager
extends Object


Nested Class Summary
protected static class StorageManager.ExtraInfo
           
 
Field Summary
static boolean isDebugging
           
 
Constructor Summary
StorageManager(SharedSpace shob, Storage storage)
           
 
Method Summary
 void addStorageListener(String globalName, StorageListener l)
           
 boolean contains(String globalName)
           
 SharedObject get(String globalName)
           
 List getDescriptorList()
           
protected  StorageManager.ExtraInfo getExtraInfo(String globalName)
           
 Set getKeySet()
           
 Storage getStorage()
           
 void lock(String globalName)
           
protected  void log(String message)
           
 void put(String globalName, SharedObject obj)
           
 void remove(String globalName)
           
 void removeStorageListener(String globalName, StorageListener l)
           
 void unlock(String globalName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isDebugging

public static boolean isDebugging
Constructor Detail

StorageManager

public StorageManager(SharedSpace shob,
                      Storage storage)
Method Detail

getExtraInfo

protected StorageManager.ExtraInfo getExtraInfo(String globalName)

log

protected void log(String message)

put

public void put(String globalName,
                SharedObject obj)
         throws StorageException
StorageException

get

public SharedObject get(String globalName)
                 throws StorageException
StorageException

remove

public void remove(String globalName)
            throws StorageException
StorageException

contains

public boolean contains(String globalName)
                 throws StorageException
StorageException

lock

public void lock(String globalName)

unlock

public void unlock(String globalName)

getKeySet

public Set getKeySet()

getStorage

public Storage getStorage()

getDescriptorList

public List getDescriptorList()
                       throws StorageException
StorageException

addStorageListener

public void addStorageListener(String globalName,
                               StorageListener l)

removeStorageListener

public void removeStorageListener(String globalName,
                                  StorageListener l)