com.caucho.jca.program
Class ResourceAdapterAssociationProgram

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

public class ResourceAdapterAssociationProgram
extends ConfigProgram

Program to associate a resource adapter


Constructor Summary
ResourceAdapterAssociationProgram(java.lang.Class cl)
          Creates a resource adapter program based on the class.
 
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

ResourceAdapterAssociationProgram

public ResourceAdapterAssociationProgram(java.lang.Class cl)
Creates a resource adapter program based on the class.

Method Detail

inject

public <T> void inject(T bean,
                       CreationalContext<T> env)
Configures the bean using the current program.

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