Package org.jboss.msc.value
Class InjectedSetValue<T>
- java.lang.Object
-
- org.jboss.msc.value.InjectedSetValue<T>
-
- Type Parameters:
T
- the value type
@Deprecated public final class InjectedSetValue<T> extends Object implements Value<Set<T>>
Deprecated.UseServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.ASet
value that can have entries injected into it. The underlying set is an instance ofLinkedHashSet
, so iteration order will be consistent.The
injector()
method is used to get an injector that can inject into the set.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description InjectedSetValue()
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<T>
getValue()
Deprecated.Get the actual dependency value.Injector<T>
injector()
Deprecated.Gets an injector for this set.
-
-
-
Method Detail
-
getValue
public Set<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.
-
-