|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.definition.registry.AbstractFlowDefinitionRegistryFactoryBean
public abstract class AbstractFlowDefinitionRegistryFactoryBean
A base class for factory beans that create populated flow definition registries. Subclasses should override the
doPopulate(FlowDefinitionRegistry) method to perform the registry population logic, typically delegating to
a FlowDefinitionRegistrar strategy to perform the population.
| Constructor Summary | |
|---|---|
AbstractFlowDefinitionRegistryFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
protected FlowDefinitionRegistry |
createFlowDefinitionRegistry()
Create the flow definition registry to be populated in doPopulate(FlowDefinitionRegistry). |
protected abstract void |
doPopulate(FlowDefinitionRegistry registry)
Template method subclasses must override to perform registry population. |
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
FlowDefinitionRegistry |
getRegistry()
Returns the flow definition registry constructed by the factory bean. |
protected void |
init()
Template method subclasses may override to perform factory bean initialization logic before registry population. |
boolean |
isSingleton()
|
void |
setParent(FlowDefinitionRegistry parent)
Sets the parent registry of the registry constructed by this factory bean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFlowDefinitionRegistryFactoryBean()
| Method Detail |
|---|
public void setParent(FlowDefinitionRegistry parent)
A child registry will delegate to its parent if it cannot fulfill a request to locate a flow definition itself.
parent - the parent flow definition registry
public final void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic java.lang.Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean
public java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic FlowDefinitionRegistry getRegistry()
protected FlowDefinitionRegistry createFlowDefinitionRegistry()
doPopulate(FlowDefinitionRegistry). Subclasses
can override this method if they want to use a custom flow definition registry implementation.
protected void init()
doPopulate(FlowDefinitionRegistry). The default implementation is empty.
protected abstract void doPopulate(FlowDefinitionRegistry registry)
registry - the flow definition registry to populate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||