org.zkoss.zkplus.util
Class ThreadLocals

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

public class ThreadLocals
extends java.lang.Object

ThreadLocal related utilities.

Since:
3.0.6
Author:
henrichen

Constructor Summary
ThreadLocals()
           
 
Method Summary
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.
 
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 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 name
fldname - 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 class
fldname - the ThreadLocal field name.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo