org.jvnet.hk2.config
Class NoopConfigInjector

java.lang.Object
  extended by org.jvnet.hk2.config.ConfigInjector
      extended by org.jvnet.hk2.config.NoopConfigInjector
Direct Known Subclasses:
EnvironmentInjector, PropertyInjector

public class NoopConfigInjector
extends ConfigInjector

Used for bringing in ConfigBeanProxy to the habitat.

Author:
Kohsuke Kawaguchi

Constructor Summary
NoopConfigInjector()
           
 
Method Summary
 void inject(Dom dom, Object target)
          Reads values from Dom and inject them into the given target object.
 void injectAttribute(Dom dom, String attributeName, Object target)
          Injects a single property of the given attribute name.
 void injectElement(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopConfigInjector

public NoopConfigInjector()
Method Detail

inject

public void inject(Dom dom,
                   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,
                          String elementName,
                          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,
                            String attributeName,
                            Object target)
Description copied from class: ConfigInjector
Injects a single property of the given attribute name.

Specified by:
injectAttribute in class ConfigInjector


Copyright © 2013 Oracle Corporation. All Rights Reserved.