Deprecated
Use Contextual instead.
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| public | ThreadLocalSelector(final ThreadLocal<? extends T>
the thread-local to use to store the selector's value threadLocal)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public T | get()
Implements abstract org. null if there is none.
|
| threadLocal | back to summary |
|---|---|
| private final ThreadLocal<? extends T> threadLocal | |
| ThreadLocalSelector | back to summary |
|---|---|
| public ThreadLocalSelector(final ThreadLocal<? extends T> threadLocal) Construct a new instance.
| |
| get | back to summary |
|---|---|
| public T get() Implements abstract org. Doc from org. Get the currently relevant object, or
| |