com.caucho.config.j2ee
Class PreDestroyInject

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

@Module
public class PreDestroyInject
extends ConfigProgram


Constructor Summary
PreDestroyInject(java.lang.reflect.Method destroy)
           
 
Method Summary
<T> void
inject(T value, CreationalContext<T> env)
          Configures the bean using the current program.
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

PreDestroyInject

public PreDestroyInject(java.lang.reflect.Method destroy)
Method Detail

inject

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

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object