public class MethodGeneratorProgram extends ConfigProgram
| Constructor and Description |
|---|
MethodGeneratorProgram(java.lang.reflect.Method method,
ValueGenerator gen) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getDeclaringClass()
Returns the declaring class.
|
java.lang.String |
getName()
Returns the name.
|
<T> void |
inject(T bean,
CreationalContext<T> env)
Configures the bean using the current program.
|
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getPriority, getQName, initpublic MethodGeneratorProgram(java.lang.reflect.Method method,
ValueGenerator gen)
public java.lang.String getName()
ConfigProgramgetName in class ConfigProgrampublic java.lang.Class<?> getDeclaringClass()
ConfigProgramgetDeclaringClass in class ConfigProgrampublic <T> void inject(T bean,
CreationalContext<T> env)
throws ConfigException
ConfigPrograminject in class ConfigProgrambean - the bean to configureConfigException