anvil.server.simple
Class SimplePersistentNamespace

java.lang.Object
  |
  +--anvil.server.simple.SimplePersistentNamespace
All Implemented Interfaces:
Namespace, PersistentNamespace

public class SimplePersistentNamespace
extends java.lang.Object
implements PersistentNamespace

class SimplePersistentNamespaceImpl


Constructor Summary
SimplePersistentNamespace()
           
 
Method Summary
 Any checkVariable(java.lang.String name)
           
 void commit()
           
 boolean deleteVariable(java.lang.String name)
           
 java.lang.String getName()
           
 Any getVariable(java.lang.String name)
           
 BindingIterator getVariables()
           
 void initialize(Zone zone, NamespacePreferences prefs)
           
 Any setVariable(java.lang.String name, Any value)
           
 void stop()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimplePersistentNamespace

public SimplePersistentNamespace()
Method Detail

toString

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

getName

public java.lang.String getName()
Specified by:
getName in interface Namespace

initialize

public void initialize(Zone zone,
                       NamespacePreferences prefs)
Specified by:
initialize in interface PersistentNamespace

commit

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

stop

public void stop()
Specified by:
stop in interface PersistentNamespace

getVariables

public BindingIterator getVariables()
Specified by:
getVariables in interface Namespace

getVariable

public Any getVariable(java.lang.String name)
Specified by:
getVariable in interface Namespace

setVariable

public Any setVariable(java.lang.String name,
                       Any value)
Specified by:
setVariable in interface Namespace

checkVariable

public Any checkVariable(java.lang.String name)
Specified by:
checkVariable in interface Namespace

deleteVariable

public boolean deleteVariable(java.lang.String name)
Specified by:
deleteVariable in interface Namespace