public class ThreadContext extends java.lang.Object implements IThreadContext
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_rcsid |
protected java.util.Hashtable |
hashtable |
| Constructor and Description |
|---|
ThreadContext() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object key)
Retrieve a named object from the context.
|
void |
save(java.lang.Object key,
java.lang.Object object)
Set a named object into the context.
|
public static final java.lang.String _rcsid
protected java.util.Hashtable hashtable
public void save(java.lang.Object key,
java.lang.Object object)
save in interface IThreadContextkey - is the name of the object (usually a string)object - is the object to save, or null if the object is to be
destroyed instead.public java.lang.Object get(java.lang.Object key)
get in interface IThreadContextkey - is the object's key (usually a string)