org.zkoss.zkplus.util
Class ThreadLocals

java.lang.Object
  extended by org.zkoss.zkplus.util.ThreadLocals

public class ThreadLocals
extends Object

ThreadLocal related utilities.

Since:
3.0.6
Author:
henrichen

Constructor Summary
ThreadLocals()
           
 
Method Summary
static ThreadLocal getThreadLocal(Class cls, String fldname)
          Given class and static ThreadLocal field name, return the associated ThreadLocal.
static ThreadLocal getThreadLocal(String clsname, String fldname)
          Given class name and static ThreadLocal field name, return the associated ThreadLocal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocals

public ThreadLocals()
Method Detail

getThreadLocal

public static ThreadLocal getThreadLocal(String clsname,
                                         String fldname)
Given class name and static ThreadLocal field name, return the associated ThreadLocal.

Parameters:
clsname - the class name
fldname - the ThreadLocal field name

getThreadLocal

public static ThreadLocal getThreadLocal(Class cls,
                                         String fldname)
Given class and static ThreadLocal field name, return the associated ThreadLocal.

Parameters:
cls - the class
fldname - the ThreadLocal field name.


Copyright © 2014. All rights reserved.