public class ThreadLocals
extends java.lang.Object
Constructor and Description |
---|
ThreadLocals() |
Modifier and Type | Method and 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.
|
public static java.lang.ThreadLocal getThreadLocal(java.lang.String clsname, java.lang.String fldname)
clsname
- the class namefldname
- the ThreadLocal field namepublic static java.lang.ThreadLocal getThreadLocal(java.lang.Class cls, java.lang.String fldname)
cls
- the classfldname
- the ThreadLocal field name.Copyright © 2005-2011 Potix Corporation. All Rights Reserved.