org.jboss.msc.value
Class ReferenceValue<T>
java.lang.Object
org.jboss.msc.value.ReferenceValue<T>
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
- Value<T>
public final class ReferenceValue<T>
- extends Object
- implements Value<T>
A value which reads a reference.
- Author:
- David M. Lloyd
Method Summary |
T |
getValue()
Get the actual value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceValue
public ReferenceValue(Reference<? extends T,?> reference)
- Construct a new instance.
- Parameters:
reference
- the reference to refer to
getValue
public T getValue()
- Get the actual value.
- Specified by:
getValue
in interface Value<T>
- Returns:
- the actual value
Copyright © 2011. All Rights Reserved.