com.caucho.config.program
Class NullProgram

java.lang.Object
  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.config.program.NullProgram
All Implemented Interfaces:
java.lang.Comparable<ConfigProgram>

public class NullProgram
extends ConfigProgram

A saved program for configuring an object.


Constructor Summary
NullProgram()
           
 
Method Summary
<T> void
inject(T bean, CreationalContext<T> createContext)
          Configures the bean using the current program.
 
Methods inherited from class com.caucho.config.program.ConfigProgram
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getName, getPriority, getQName, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullProgram

public NullProgram()
Method Detail

inject

public <T> void inject(T bean,
                       CreationalContext<T> createContext)
Description copied from class: ConfigProgram
Configures the bean using the current program.

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