public class ExprProgram extends ConfigProgram
Constructor and Description |
---|
ExprProgram(Expr expr) |
Modifier and Type | Method and Description |
---|---|
<T> T |
create(ConfigType<T> type,
CreationalContext<T> env) |
<T> void |
inject(T bean,
CreationalContext<T> createContext)
Configures the bean using the current program.
|
java.lang.String |
toString() |
addProgram, bind, compareTo, configure, configure, configure, create, create, getDeclaringClass, getName, getPriority, getQName, init
public ExprProgram(Expr expr)
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