Get an entry from the context.
Parameters: key - the key to map Parameters: defaultObject - a default object to return if key does not exist the object in context
Get the Current ContextMap.
This method returns a ContextMap associated with current thread. If the
thread doesn't have a ContextMap associated with it then a new
ContextMap is created.
the current ContextMap
getCurrentContext
final public static ContextMap getCurrentContext(boolean autocreate)(Code)
Get the Current ContextMap.
This method returns a ContextMap associated with current thread.
If the thread doesn't have a ContextMap associated with it and
autocreate is true then a new ContextMap is created.
Parameters: autocreate - true if a ContextMap is to be created if it doesn't exist the current ContextMap