|
||||||||||
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.ExprProgram
public class ExprProgram
A saved program for configuring an object.
Constructor Summary | |
---|---|
ExprProgram(Expr expr)
|
Method Summary | ||
---|---|---|
|
create(ConfigType<T> type,
CreationalContext<T> env)
|
|
|
inject(T bean,
CreationalContext<T> createContext)
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, getDeclaringClass, getName, getPriority, getQName, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExprProgram(Expr expr)
Method Detail |
---|
public <T> T create(ConfigType<T> type, CreationalContext<T> env) throws ConfigException
create
in class ConfigProgram
ConfigException
public <T> void inject(T bean, CreationalContext<T> createContext)
ConfigProgram
inject
in class ConfigProgram
bean
- the bean to configurepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |