com.caucho.config.program
Class ResourceProgram

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

public class ResourceProgram
extends ConfigProgram

JavaEE resource program


Constructor Summary
ResourceProgram(ResourceGroupConfig resourceConfig)
           
 
Method Summary
<T> void
inject(T bean, CreationalContext<T> env)
          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

ResourceProgram

public ResourceProgram(ResourceGroupConfig resourceConfig)
Method Detail

inject

public <T> void inject(T bean,
                       CreationalContext<T> 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