|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.program.ConfigProgram
com.caucho.config.program.NamedProgram
com.caucho.config.program.MethodValueProgram
public class MethodValueProgram
Injects a method with a constant value
| Constructor Summary | |
|---|---|
MethodValueProgram(java.lang.reflect.Method method,
java.lang.Object value)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the injection name. |
void |
inject(java.lang.Object bean,
ConfigContext env)
Injects the bean with the dependencies |
| Methods inherited from class com.caucho.config.program.NamedProgram |
|---|
toString |
| Methods inherited from class com.caucho.config.program.ConfigProgram |
|---|
addProgram, configure, configure, configure, configure, configure, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MethodValueProgram(java.lang.reflect.Method method,
java.lang.Object value)
| Method Detail |
|---|
public java.lang.String getName()
getName in class NamedProgram
public void inject(java.lang.Object bean,
ConfigContext env)
inject in class ConfigProgrambean - the bean to configureenv - the Config environment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||