org.springframework.webflow.executor.FlowExecutor Java Examples

The following examples show how to use org.springframework.webflow.executor.FlowExecutor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WebFlowConfig.java    From tutorial with MIT License 4 votes vote down vote up
@Bean
public FlowExecutor flowExecutor() {
    return getFlowExecutorBuilder(this.flowRegistry()) //
            .build();
}
 
Example #2
Source File: WebFlowConfig.java    From pizzeria with MIT License 4 votes vote down vote up
@Bean
public FlowExecutor flowExecutor() {
    return getFlowExecutorBuilder(flowDefinitionRegistry())
            .addFlowExecutionListener(securityFlowExecutionListener())
            .build();
}
 
Example #3
Source File: WebFlowConfig.java    From enhanced-pet-clinic with Apache License 2.0 4 votes vote down vote up
@Bean
public FlowExecutor flowExecutor() {
	return getFlowExecutorBuilder(flowRegistry()).addFlowExecutionListener(new SecurityFlowExecutionListener(), "*")
			.build();
}
 
Example #4
Source File: WebFlowConfig.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
public FlowExecutor flowExecutor() {
    return getFlowExecutorBuilder(flowRegistry()).build();
}
 
Example #5
Source File: SpringletsWebFlowConfiguration.java    From springlets with Apache License 2.0 2 votes vote down vote up
/**
 * {@link FlowExecutor} bean configured with the default flow definitions provided 
 * by {@link #flowRegistry()}.
 * 
 * If you want to replace the default FlowExecutor completely, define 
 * a @{@link Bean} of that type and mark it as @{@link Primary}.
 * 
 * @return the flow executor
 */
@Bean
public FlowExecutor flowExecutor() {
  return getFlowExecutorBuilder(flowRegistry()).build();
}