Liferay 6.0.5

com.liferay.portal.kernel.util
Class AutoResetThreadLocal<T>

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by com.liferay.portal.kernel.util.InitialThreadLocal<T>
          extended by com.liferay.portal.kernel.util.AutoResetThreadLocal<T>

public class AutoResetThreadLocal<T>
extends InitialThreadLocal<T>


Constructor Summary
AutoResetThreadLocal(String name)
           
AutoResetThreadLocal(String name, T initialValue)
           
 
Method Summary
protected  T initialValue()
           
 void set(T value)
           
 
Methods inherited from class com.liferay.portal.kernel.util.InitialThreadLocal
toString
 
Methods inherited from class java.lang.ThreadLocal
get, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoResetThreadLocal

public AutoResetThreadLocal(String name)

AutoResetThreadLocal

public AutoResetThreadLocal(String name,
                            T initialValue)
Method Detail

set

public void set(T value)
Overrides:
set in class ThreadLocal<T>

initialValue

protected T initialValue()
Overrides:
initialValue in class InitialThreadLocal<T>

Liferay 6.0.5