Package org.jboss.msc.value
Class MapEntryValue<K,V>
- java.lang.Object
-
- org.jboss.msc.value.MapEntryValue<K,V>
-
- Type Parameters:
K
- the key typeV
- the value type
@Deprecated public final class MapEntryValue<K,V> extends Object implements Value<MapEntry<K,V>>
Deprecated.UseServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.A value which yields a map entry.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MapEntry<K,V>
getValue()
Deprecated.Get the actual dependency value.static <K,V>
Value<MapEntry<K,V>>of(Value<K> key, Value<V> value)
Deprecated.Construct a new instance.
-
-
-
Method Detail
-
getValue
public MapEntry<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.
-
-