@Module public class PreDestroyInject extends ConfigProgram
Constructor and Description |
---|
PreDestroyInject(java.lang.reflect.Method destroy) |
Modifier and Type | Method and Description |
---|---|
<T> void |
inject(T value,
CreationalContext<T> env)
Configures the bean using the current program.
|
java.lang.String |
toString() |
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getName, getPriority, getQName, init
public <T> void inject(T value, CreationalContext<T> env) throws ConfigException
ConfigProgram
inject
in class ConfigProgram
value
- the bean to configureConfigException
public java.lang.String toString()
toString
in class java.lang.Object