org.apache.commons.contract.store
Class Environment

java.lang.Object
  extended by org.apache.commons.contract.store.Environment
All Implemented Interfaces:
Store

public class Environment
extends Object
implements Store


Field Summary
static String ID
           
 
Constructor Summary
Environment()
           
 
Method Summary
 void dispose(String key, Context context)
           
 Object get(String key, Context context)
           
 String getId()
           
 void put(String key, Object value, Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

Environment

public Environment()
Method Detail

put

public void put(String key,
                Object value,
                Context context)
         throws StoreException
Specified by:
put in interface Store
Throws:
StoreException

get

public Object get(String key,
                  Context context)
           throws StoreException
Specified by:
get in interface Store
Throws:
StoreException

dispose

public void dispose(String key,
                    Context context)
             throws StoreException
Specified by:
dispose in interface Store
Throws:
StoreException

getId

public String getId()
Specified by:
getId in interface Store


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.