Package 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>
@Deprecated public final class ReferenceValue<T> extends Object implements Value<T>
Deprecated.UseServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.A value which reads a reference.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ReferenceValue(org.jboss.modules.ref.Reference<? extends T,?> reference)
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description T
getValue()
Deprecated.Get the actual dependency value.
-
-
-
Constructor Detail
-
ReferenceValue
public ReferenceValue(org.jboss.modules.ref.Reference<? extends T,?> reference)
Deprecated.Construct a new instance.- Parameters:
reference
- the reference to refer to
-
-