Package org.zkoss.zkplus.util
Class ThreadLocals
- java.lang.Object
-
- org.zkoss.zkplus.util.ThreadLocals
-
public class ThreadLocals extends java.lang.Object
ThreadLocal related utilities.- Since:
- 3.0.6
- Author:
- henrichen
-
-
Constructor Summary
Constructors Constructor Description ThreadLocals()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ThreadLocal
getThreadLocal(java.lang.Class cls, java.lang.String fldname)
Given class and static ThreadLocal field name, return the associated ThreadLocal.static java.lang.ThreadLocal
getThreadLocal(java.lang.String clsname, java.lang.String fldname)
Given class name and static ThreadLocal field name, return the associated ThreadLocal.
-
-
-
Method Detail
-
getThreadLocal
public static java.lang.ThreadLocal getThreadLocal(java.lang.String clsname, java.lang.String fldname)
Given class name and static ThreadLocal field name, return the associated ThreadLocal.- Parameters:
clsname
- the class namefldname
- the ThreadLocal field name
-
getThreadLocal
public static java.lang.ThreadLocal getThreadLocal(java.lang.Class cls, java.lang.String fldname)
Given class and static ThreadLocal field name, return the associated ThreadLocal.- Parameters:
cls
- the classfldname
- the ThreadLocal field name.
-
-