org.springframework.webflow.engine.builder.support.FlowBuilderServices Java Examples
The following examples show how to use
org.springframework.webflow.engine.builder.support.FlowBuilderServices.
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 pizzeria with MIT License | 5 votes |
@Bean public FlowBuilderServices flowBuilderServices() { return getFlowBuilderServicesBuilder() .setViewFactoryCreator(mvcViewFactoryCreator()) .setValidator(localValidatorFactoryBean()) .setDevelopmentMode(true) .build(); }
Example #2
Source File: SpringletsWebFlowConfiguration.java From springlets with Apache License 2.0 | 5 votes |
/** * Creates the {@link FlowBuilderServices} and configures it as follows: * * * Set the WebFlow {@link org.springframework.binding.convert.ConversionService} * that delegates on the default Spring MVC {@link ConversionService}. * * Set the default Spring MVC {@link Validator} as the default Spring WebFlow Validator. * * Register the {@link StringToNullConverter}. * * Enable/disable flow and views cache (cache enabled by default). * * View factories creator that resolve their views by loading flow-relative resources. * * @return the FlowBuilderServices */ @Bean public FlowBuilderServices flowBuilderServices() { DefaultConversionService webFlowConversionService = new DefaultConversionService(this.conversionService); webFlowConversionService.addConverter(new StringToNullConverter()); return getFlowBuilderServicesBuilder().setViewFactoryCreator(mvcViewFactoryCreator()) .setConversionService(webFlowConversionService).setValidator(this.validator) .setDevelopmentMode(!this.development).build(); }
Example #3
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #4
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #5
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #6
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #7
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #8
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #9
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #10
Source File: CustomWebflowConfigurer.java From CAS with Apache License 2.0 | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties); }
Example #11
Source File: WebFlowConfig.java From tutorial with MIT License | 4 votes |
@Bean public FlowBuilderServices flowBuilderServices() { return getFlowBuilderServicesBuilder() // .setViewFactoryCreator(this.mvcViewFactoryCreator()) // Important! .setValidator(this.localValidatorFacotryBean).build(); }
Example #12
Source File: ValidateWebflowConfigurer.java From sso with MIT License | 4 votes |
public ValidateWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry loginFlowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) { super(flowBuilderServices, loginFlowDefinitionRegistry); }
Example #13
Source File: CustomWebflowConfigurer.java From sso with MIT License | 4 votes |
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry) { super(flowBuilderServices, flowDefinitionRegistry); }
Example #14
Source File: WebFlowConfig.java From enhanced-pet-clinic with Apache License 2.0 | 4 votes |
@Bean public FlowBuilderServices flowBuilderServices() { return getFlowBuilderServicesBuilder().setViewFactoryCreator(mvcViewFactoryCreator()) // .setValidator(validator()) .setDevelopmentMode(true).build(); }
Example #15
Source File: WebFlowConfig.java From tutorials with MIT License | 4 votes |
@Bean public FlowBuilderServices flowBuilderServices() { return getFlowBuilderServicesBuilder().setViewFactoryCreator(mvcViewFactoryCreator()).setDevelopmentMode(true).build(); }