org.javagen.agile.core.context
Class DefaultContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.javagen.agile.core.context.DefaultContext
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, Context, ContextHolder

public class DefaultContext
extends HashMap<String,Object>
implements Context, ContextHolder

Default implementation of a key-value Context.

Author:
Richard Easterling
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
DefaultContext()
           
 
Method Summary
 Context getContext()
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

DefaultContext

public DefaultContext()
Method Detail

getContext

public Context getContext()
Specified by:
getContext in interface ContextHolder
Returns:
either a map instance populated with key-value pairs or null


Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.