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.

    - ### 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.