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
Constructor Summary |
ReferenceValue(org.jboss.modules.ref.Reference<? extends T,?> reference)
Construct a new instance. |
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(org.jboss.modules.ref.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 JBoss, a division of Red Hat, Inc.