Package org.jvnet.hk2.config
Class NoopConfigInjector
- java.lang.Object
-
- org.jvnet.hk2.config.ConfigInjector
-
- org.jvnet.hk2.config.NoopConfigInjector
-
public class NoopConfigInjector extends ConfigInjector
Used for bringing inConfigBeanProxyto the habitat.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description NoopConfigInjector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinject(Dom dom, Object target)Reads values fromDomand inject them into the given target object.voidinjectAttribute(Dom dom, String attributeName, Object target)Injects a single property of the given attribute name.voidinjectElement(Dom dom, String elementName, Object target)Injects a single property of the given element name.-
Methods inherited from class org.jvnet.hk2.config.ConfigInjector
asBoolean, asInt, reference
-
-
-
-
Method Detail
-
inject
public void inject(Dom dom, Object target)
Description copied from class:ConfigInjectorReads values fromDomand inject them into the given target object.- Specified by:
injectin classConfigInjector
-
injectElement
public void injectElement(Dom dom, String elementName, Object target)
Description copied from class:ConfigInjectorInjects a single property of the given element name.- Specified by:
injectElementin classConfigInjector
-
injectAttribute
public void injectAttribute(Dom dom, String attributeName, Object target)
Description copied from class:ConfigInjectorInjects a single property of the given attribute name.- Specified by:
injectAttributein classConfigInjector
-
-