public class RecoverableProgram extends FlowProgram
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR |
Constructor and Description |
---|
RecoverableProgram(ConfigProgram program) |
Modifier and Type | Method and Description |
---|---|
<T> T |
create(ConfigType<T> type,
CreationalContext<T> cxt) |
QName |
getQName()
Returns the program's QName
|
<T> void |
inject(T bean,
CreationalContext<T> cxt)
Configures the bean using the current program.
|
java.lang.String |
toString() |
addProgram, bind, compareTo, configure, configure, configure, create, create, getDeclaringClass, getName, getPriority, init
public static final java.lang.String ATTR
public RecoverableProgram(ConfigProgram program)
public QName getQName()
ConfigProgram
getQName
in class ConfigProgram
public <T> void inject(T bean, CreationalContext<T> cxt) throws ConfigException
ConfigProgram
inject
in class ConfigProgram
bean
- the bean to configureConfigException
public <T> T create(ConfigType<T> type, CreationalContext<T> cxt) throws ConfigException
create
in class ConfigProgram
ConfigException
public java.lang.String toString()
toString
in class java.lang.Object