Class ResourceAdapterAssociationProgram

  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.jca.program.ResourceAdapterAssociationProgram
All Implemented Interfaces:

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


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

Method Detail


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

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