Package org.jboss.msc.value
Class ImmediateValue<T>
- java.lang.Object
-
- org.jboss.msc.value.ImmediateValue<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Value<T>
@Deprecated public final class ImmediateValue<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 simple immediately-available value.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ImmediateValue(T value)
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
-
ImmediateValue
public ImmediateValue(T value)
Deprecated.Construct a new instance.- Parameters:
value
- the value to return
-
-