JBoss Modular Service Container 1.2.3.Final
-
-
Constructor Summary
Constructors
| Constructor and Description |
ThreadLocalValue()
Construct a new instance.
|
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
Value<? extends T> |
getAndSetValue(Value<? extends T> newValue)
Get and set the value.
|
T |
getValue()
Get the actual value.
|
void |
setValue(Value<? extends T> newValue)
Set this value, replacing any current value.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getValue
public T getValue()
Get the actual value.
- Specified by:
getValue in interface Value<T>
- Returns:
- the actual value
JBoss Modular Service Container 1.2.3.Final
Copyright © 2012 JBoss, a division of Red Hat, Inc.