|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.program.ConfigProgram
public abstract class ConfigProgram
A saved program for configuring an object.
| Constructor Summary | |
|---|---|
ConfigProgram()
|
|
| Method Summary | |
|---|---|
void |
addProgram(ConfigProgram program)
|
java.lang.Object |
configure(java.lang.Class type)
|
protected java.lang.Object |
configure(java.lang.Class type,
ConfigContext env)
Configures a bean given a class to instantiate. |
java.lang.Object |
configure(ConfigType type)
|
java.lang.Object |
configure(ConfigType type,
ConfigContext env)
|
void |
configure(java.lang.Object bean)
Configures the object. |
void |
init(java.lang.Object bean)
|
abstract void |
inject(java.lang.Object bean,
ConfigContext env)
Configures the bean using the current program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigProgram()
| Method Detail |
|---|
public abstract void inject(java.lang.Object bean,
ConfigContext env)
bean - the bean to configureenv - the Config environmentpublic void addProgram(ConfigProgram program)
public final void configure(java.lang.Object bean)
throws ConfigException
ConfigException
public final java.lang.Object configure(java.lang.Class type)
throws ConfigException
ConfigException
protected final java.lang.Object configure(java.lang.Class type,
ConfigContext env)
throws ConfigException
ConfigException
public final java.lang.Object configure(ConfigType type)
throws ConfigException
ConfigException
public java.lang.Object configure(ConfigType type,
ConfigContext env)
throws ConfigException
ConfigException
public void init(java.lang.Object bean)
throws ConfigException
ConfigException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||