Package org.jboss.msc.inject
Class MapInjector<K,T>
- java.lang.Object
-
- org.jboss.msc.inject.MapInjector<K,T>
-
-
Constructor Summary
Constructors Constructor Description MapInjector(java.util.Map<K,T> map, K key)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinject(T value)Inject the given value.voiduninject()Uninject the given value (in other words, cancel or undo a previous injection).
-
-
-
Method Detail
-
inject
public void inject(T value) throws InjectionException
Inject the given value.- Specified by:
injectin interfaceInjector<K>- Parameters:
value- the value- Throws:
InjectionException- if the injection failed
-
-