public class DefaultContext extends Object implements Serializable, Context
Context
reference implementation.ContextFactory
,
Serialized FormConstructor and Description |
---|
DefaultContext()
Creates a new
DefaultContext instance. |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String key) |
protected Map |
getMap()
Gets the
Map backing the instance. |
Object |
getObject(String key) |
Collection |
getObjectKeys() |
Object |
removeAttribute(String key) |
Object |
removeObject(String key) |
Object |
setAttribute(String key,
Serializable o) |
Object |
setObject(String key,
Object o) |
public DefaultContext()
DefaultContext
instance.public final Object getAttribute(String key)
getAttribute
in interface Context
protected Map getMap()
Map
backing the instance.public Collection getObjectKeys()
getObjectKeys
in interface Context
public final Object removeAttribute(String key)
removeAttribute
in interface Context
public Object removeObject(String key)
removeObject
in interface Context
public final Object setAttribute(String key, Serializable o)
setAttribute
in interface Context
Copyright © 2005-2012 jDTAUS. All Rights Reserved.