|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.config.FlowExecutorFactoryBean org.codehaus.groovy.grails.webflow.config.GrailsAwareFlowExecutorFactoryBean
public class GrailsAwareFlowExecutorFactoryBean
Extends Spring WebFlow's FlowExecutorFactoryBean to supply an alternative implementation of the ContinuationFlowExecutionRepository that is capable of loading classes from the Grails class loader
ContinuationFlowExecutionRepository
,
FlowExecutorFactoryBean
Constructor Summary | |
---|---|
GrailsAwareFlowExecutorFactoryBean()
|
Method Summary | |
---|---|
protected org.springframework.webflow.execution.repository.FlowExecutionRepository |
createExecutionRepository(org.springframework.webflow.config.RepositoryType repositoryType,
org.springframework.webflow.execution.repository.support.FlowExecutionStateRestorer executionStateRestorer,
org.springframework.webflow.conversation.ConversationManager conversationManager)
Overrides default implementation to supply an alternative implemenation of ContinuationFlowExecutionRepository when the repositoryType a CONTINUATION repository |
protected org.springframework.webflow.executor.FlowExecutor |
createFlowExecutor(org.springframework.webflow.definition.registry.FlowDefinitionLocator definitionLocator,
org.springframework.webflow.execution.FlowExecutionFactory executionFactory,
org.springframework.webflow.execution.repository.FlowExecutionRepository executionRepository)
Create the flow executor instance created by this factory bean and configure it appropriately. |
void |
setGrailsApplication(GrailsApplication grailsApplication)
The GrailsApplication instance to use to load classes from |
Methods inherited from class org.springframework.webflow.config.FlowExecutorFactoryBean |
---|
afterPropertiesSet, createDefaultConversationManager, createFlowExecutionFactory, createFlowExecutionStateRestorer, getFlowExecutor, getInputMapper, getMaxContinuations, getMaxConversations, getObject, getObjectType, isSingleton, setConversationManager, setDefaults, setDefinitionLocator, setExecutionAttributes, setExecutionListener, setExecutionListenerLoader, setExecutionListeners, setInputMapper, setMaxContinuations, setMaxConversations, setRepositoryType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrailsAwareFlowExecutorFactoryBean()
Method Detail |
---|
public void setGrailsApplication(GrailsApplication grailsApplication)
setGrailsApplication
in interface GrailsApplicationAware
grailsApplication
- The GrailsApplication instanceprotected org.springframework.webflow.executor.FlowExecutor createFlowExecutor(org.springframework.webflow.definition.registry.FlowDefinitionLocator definitionLocator, org.springframework.webflow.execution.FlowExecutionFactory executionFactory, org.springframework.webflow.execution.repository.FlowExecutionRepository executionRepository)
createFlowExecutor
in class org.springframework.webflow.config.FlowExecutorFactoryBean
definitionLocator
- the definition locator to useexecutionFactory
- the execution factory to useexecutionRepository
- the execution repository to use
protected org.springframework.webflow.execution.repository.FlowExecutionRepository createExecutionRepository(org.springframework.webflow.config.RepositoryType repositoryType, org.springframework.webflow.execution.repository.support.FlowExecutionStateRestorer executionStateRestorer, org.springframework.webflow.conversation.ConversationManager conversationManager)
createExecutionRepository
in class org.springframework.webflow.config.FlowExecutorFactoryBean
RepositoryType.CONTINUATION
,
FlowExecutorFactoryBean.createExecutionRepository(org.springframework.webflow.config.RepositoryType, org.springframework.webflow.execution.repository.support.FlowExecutionStateRestorer, org.springframework.webflow.conversation.ConversationManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |