com.caucho.config.program
Class MethodGeneratorProgram

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

public class MethodGeneratorProgram
extends ConfigProgram


Constructor Summary
MethodGeneratorProgram(java.lang.reflect.Method method, ValueGenerator gen)
           
 
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

MethodGeneratorProgram

public MethodGeneratorProgram(java.lang.reflect.Method method,
                              ValueGenerator gen)
Method Detail

inject

public void inject(java.lang.Object bean,
                   ConfigContext env)
            throws ConfigException
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
Throws:
ConfigException