T
- the value typeServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.@Deprecated public final class InjectedSetValue<T> extends Object implements Value<Set<T>>
Set
value that can have entries injected into it. The underlying set is an instance of LinkedHashSet
, so
iteration order will be consistent.
The injector()
method is used to get an injector that can inject into the set.
Constructor and Description |
---|
InjectedSetValue()
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Set<T> |
getValue()
Deprecated.
Get the actual dependency value.
|
Injector<T> |
injector()
Deprecated.
Gets an injector for this set.
|
public Set<T> getValue() throws IllegalStateException
getValue
in interface Value<Set<T>>
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.Copyright © 2019 JBoss by Red Hat. All rights reserved.