K - the key typeT - the value typepublic final class MapInjector<K,T> extends Object implements Injector<T>
| Constructor and Description |
|---|
MapInjector(Map<K,T> map,
K key)
Construct a new instance.
|
public void inject(T value) throws InjectionException
inject in interface Injector<T>value - the valueInjectionException - if the injection failedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.