Package org.jboss.msc.value
Class MapItemValue<T>
- java.lang.Object
-
- org.jboss.msc.value.MapItemValue<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Value<T>
@Deprecated public final class MapItemValue<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 is acquired from a map by key.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description MapItemValue(Value<?> keyValue, Value<? extends Map<?,? extends T>> mapValue)
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.
-
-
-
Method Detail
-
getValue
public T getValue() throws IllegalStateException
Deprecated.Get the actual dependency value.- Specified by:
getValue
in interfaceValue<T>
- Returns:
- the actual dependency value
- Throws:
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.
-
-