|
spring-webflow | ||||||||
| 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(java.lang.Class<?> type,
org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
Creates a new bean factory variable factory. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public java.lang.Object createInitialValue(RequestContext context)
VariableValueFactory
createInitialValue in interface VariableValueFactorycontext - the currently executing flow request
public void restoreReferences(java.lang.Object value,
RequestContext context)
VariableValueFactory
restoreReferences in interface VariableValueFactoryvalue - the current variable valuecontext - the currently executing flow requestpublic java.lang.String toString()
toString in class java.lang.Object
|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||