com.caucho.config.program
Class FieldComponentProgram

java.lang.Object
  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.config.program.FieldComponentProgram

public class FieldComponentProgram
extends ConfigProgram


Constructor Summary
FieldComponentProgram(ComponentImpl component, java.lang.reflect.Field field)
           
 
Method Summary
 void inject(java.lang.Object bean, ConfigContext env)
          Configures the bean using the current program.
 
Methods inherited from class com.caucho.config.program.ConfigProgram
addProgram, configure, configure, configure, configure, configure, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldComponentProgram

public FieldComponentProgram(ComponentImpl component,
                             java.lang.reflect.Field field)
Method Detail

inject

public void inject(java.lang.Object bean,
                   ConfigContext env)
Description copied from class: ConfigProgram
Configures the bean using the current program.

Specified by:
inject in class ConfigProgram
Parameters:
bean - the bean to configure
env - the Config environment