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 in ConfigBeanProxy to the habitat.
- Author:
- Kohsuke Kawaguchi
|
Method Summary |
void |
inject(Dom dom,
java.lang.Object target)
Reads values from Dom and inject them into the given target object. |
void |
injectAttribute(Dom dom,
java.lang.String attributeName,
java.lang.Object target)
Injects a single property of the given attribute name. |
void |
injectElement(Dom dom,
java.lang.String elementName,
java.lang.Object target)
Injects a single property of the given element name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopConfigInjector
public NoopConfigInjector()
inject
public void inject(Dom dom,
java.lang.Object target)
- Description copied from class:
ConfigInjector
- Reads values from
Dom and inject them into the given target object.
- Specified by:
inject in class ConfigInjector
injectElement
public void injectElement(Dom dom,
java.lang.String elementName,
java.lang.Object target)
- Description copied from class:
ConfigInjector
- Injects a single property of the given element name.
- Specified by:
injectElement in class ConfigInjector
injectAttribute
public void injectAttribute(Dom dom,
java.lang.String attributeName,
java.lang.Object target)
- Description copied from class:
ConfigInjector
- Injects a single property of the given attribute name.
- Specified by:
injectAttribute in class ConfigInjector
Copyright © 2012 Oracle Corporation. All Rights Reserved.