|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.engine.support.BeanFactoryVariableValueFactory
public class BeanFactoryVariableValueFactory
A bean-factory backed variable value factory. Relies on an autowire-capable bean factory to wire variable value dependencies on value creation and restoration.
Constructor Summary | |
---|---|
BeanFactoryVariableValueFactory(Class type,
org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
Creates a new bean factory variable factory. |
Method Summary | |
---|---|
Object |
createInitialValue(RequestContext context)
Creates the variable's initial value. |
void |
restoreReferences(Object value,
RequestContext context)
Restore any references the variable's value needs to other objects. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeanFactoryVariableValueFactory(Class type, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
type
- the variable classbeanFactory
- the bean factory that will create and restore variable instances.Method Detail |
---|
public Object createInitialValue(RequestContext context)
VariableValueFactory
createInitialValue
in interface VariableValueFactory
context
- the currently executing flow request
public void restoreReferences(Object value, RequestContext context)
VariableValueFactory
restoreReferences
in interface VariableValueFactory
value
- the current variable valuecontext
- the currently executing flow requestpublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |