org.springframework.core
Class NamedInheritableThreadLocal
java.lang.Object
java.lang.ThreadLocal<T>
java.lang.InheritableThreadLocal
org.springframework.core.NamedInheritableThreadLocal
public class NamedInheritableThreadLocal
- extends InheritableThreadLocal
InheritableThreadLocal
subclass that exposes a specified name
as toString()
result (allowing for introspection).
- Since:
- 2.5.2
- Author:
- Juergen Hoeller
- See Also:
NamedThreadLocal
NamedInheritableThreadLocal
public NamedInheritableThreadLocal(String name)
- Create a new NamedInheritableThreadLocal with the given name.
- Parameters:
name
- a descriptive name for this ThreadLocal
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2008 The Spring Framework.