JBoss Modular Service Kernel API 1.0.2.GA
- java.lang.Object
-
- org.jboss.msc.value.ThreadLocalValue<T>
-
-
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 Kernel API 1.0.2.GA
Copyright © 2011 JBoss, a division of Red Hat, Inc.