|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.ui.UIThreadLocal
public class UIThreadLocal
Convenience class which allows disparate parts of code keep track of goings on within a thread
Constructor Summary | |
---|---|
UIThreadLocal()
|
Method Summary | |
---|---|
static void |
clear()
Resets any values - use at beginning of Thread use e.g. |
static Object |
get(String key)
Retrieve object previously saved |
static Object |
get(String key,
String key1)
Retrieve nested value from Map defined by key |
static boolean |
isDebug()
|
static void |
put(String key,
Object value)
Stores a value. |
static void |
put(String key,
String key1,
Object value)
If value indicated by key is itself a Map, put(key1,value) If no value create a new HashMap first |
static void |
replace(String key,
Object value)
Replaces any current value for the key with the new value - regardless of type. |
static void |
setDebug(boolean debug)
Set debug mode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIThreadLocal()
Method Detail |
---|
public static void clear()
public static void put(String key, Object value)
key
- to setvalue
- for keypublic static void replace(String key, Object value)
key
- to setvalue
- for keypublic static void put(String key, String key1, Object value)
key
- for nested Mapkey1
- to setvalue
- for key1public static Object get(String key)
key
- to retrieve
public static Object get(String key, String key1)
key
- for nested Mapkey1
- for value to retrieve
public static void setDebug(boolean debug)
debug
- public static boolean isDebug()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |