Package org.jboss.msc.value
Class MapValue<K,V>
- java.lang.Object
-
- org.jboss.msc.value.MapValue<K,V>
-
- Type Parameters:
K
- the key typeV
- the value type
@Deprecated public final class MapValue<K,V> extends Object implements Value<Map<K,V>>
Deprecated.UseServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.A map value.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description MapValue(Value<? extends Map<K,V>> mapValue, List<MapEntry<? extends Value<? extends K>,? extends Value<? extends V>>> values)
Deprecated.Construct a new instance.MapValue(Value<? extends Map<K,V>> mapValue, MapEntry<? extends Value<? extends K>,? extends Value<? extends V>>... values)
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<K,V>
getValue()
Deprecated.Get the actual dependency value.
-
-
-
Method Detail
-
getValue
public Map<K,V> getValue() throws IllegalStateException
Deprecated.Get the actual dependency value.- Specified by:
getValue
in interfaceValue<K>
- Returns:
- the actual dependency value
- Throws:
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.
-
-