public class BeanFactoryVariableValueFactory extends java.lang.Object implements VariableValueFactory
| Constructor and Description |
|---|
BeanFactoryVariableValueFactory(java.lang.Class<?> type,
org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
Creates a new bean factory variable factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createInitialValue(RequestContext context)
Creates the variable's initial value.
|
void |
restoreReferences(java.lang.Object value,
RequestContext context)
Restore any references the variable's value needs to other objects.
|
java.lang.String |
toString() |
public BeanFactoryVariableValueFactory(java.lang.Class<?> type,
org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
type - the variable classbeanFactory - the bean factory that will create and restore variable instances.public java.lang.Object createInitialValue(RequestContext context)
VariableValueFactorycreateInitialValue in interface VariableValueFactorycontext - the currently executing flow requestpublic void restoreReferences(java.lang.Object value,
RequestContext context)
VariableValueFactoryrestoreReferences in interface VariableValueFactoryvalue - the current variable valuecontext - the currently executing flow requestpublic java.lang.String toString()
toString in class java.lang.Object