|
JBoss Modular Service Kernel API 1.0.0.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.value.InjectedSetValue<T>
T - the value typepublic final class InjectedSetValue<T>

A Set value that can have entries injected into it. The underlying set is an instance of LinkedHashSet, so
iteration order will be consistent.
injector() method is used to get an injector that can inject into the set.
| Constructor Summary | |
|---|---|
InjectedSetValue()
Construct a new instance. |
|
| Method Summary | |
|---|---|
Set<T> |
getOptionalValue()
|
Set<T> |
getValue()
Get the actual value. |
Injector<T> |
injector()
Gets an injector for this set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InjectedSetValue()
| Method Detail |
|---|
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.public Set<T> getOptionalValue()
public Injector<T> injector()
Injector that can inject into the value set.
|
JBoss Modular Service Kernel API 1.0.0.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||