Contextual instead.@Deprecated public final class ThreadLocalSelector<T> extends Selector<T>
Selector.Getter<T>| Constructor | Description |
|---|---|
ThreadLocalSelector(java.lang.ThreadLocal<? extends T> threadLocal) |
Deprecated.
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
T |
get() |
Deprecated.
Get the currently relevant object, or
null if there is none. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChangePermissionFor, getGetPermissionFor, getSetPermissionFor, nullSelector, selectorFor, selectorGetterActionFor, selectorGetterFor, setSelectorForpublic ThreadLocalSelector(java.lang.ThreadLocal<? extends T> threadLocal)
threadLocal - the thread-local to use to store the selector's valueCopyright © 2018 JBoss, a division of Red Hat, Inc.