|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.component.transformation.ThreadLocalBeansWrapper
public class ThreadLocalBeansWrapper
A wrapper class that provides static access to a ThreadLocal controlled map of beans Threads that call setBeans should later be able to call getBeans to retireve the same map of beans, regardless of what any other thread may do in the meantime
| Constructor Summary | |
|---|---|
ThreadLocalBeansWrapper()
|
|
| Method Summary | |
|---|---|
static Map<String,Object> |
getBeans()
Provides access to beans previously set by this thread |
static void |
remove()
Clears the threadlocal |
static void |
setBeans(Map<String,Object> beans)
Allows the current thread to set its own private beans for later retrieval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocalBeansWrapper()
| Method Detail |
|---|
public static Map<String,Object> getBeans()
public static void setBeans(Map<String,Object> beans)
beans - Map of named java beanspublic static void remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||