org.springframework.webflow.definition.registry.FlowDefinitionRegistry Java Examples

The following examples show how to use org.springframework.webflow.definition.registry.FlowDefinitionRegistry. 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 5 votes vote down vote up
@Bean
public FlowDefinitionRegistry flowRegistry() {
    return getFlowDefinitionRegistryBuilder() //
            .setBasePath("classpath:flows") //
            .addFlowLocationPattern("/**/*-flow.xml") //
            .setFlowBuilderServices(this.flowBuilderServices()) //
            .build();
}
 
Example #2
Source File: CustomWebflowConfigurer.java    From CAS with Apache License 2.0 4 votes vote down vote up
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices,
                               FlowDefinitionRegistry flowDefinitionRegistry,
                               ApplicationContext applicationContext,
                               CasConfigurationProperties casProperties) {
    super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties);
}
 
Example #3
Source File: CustomWebflowConfigurer.java    From CAS with Apache License 2.0 4 votes vote down vote up
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 vote down vote up
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 vote down vote up
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 vote down vote up
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 vote down vote up
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 vote down vote up
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 vote down vote up
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices,
                               FlowDefinitionRegistry flowDefinitionRegistry,
                               ApplicationContext applicationContext,
                               CasConfigurationProperties casProperties) {
    super(flowBuilderServices, flowDefinitionRegistry, applicationContext, casProperties);
}
 
Example #10
Source File: WebFlowConfig.java    From pizzeria with MIT License 4 votes vote down vote up
@Bean
public FlowDefinitionRegistry flowDefinitionRegistry() {
    return getFlowDefinitionRegistryBuilder(flowBuilderServices())
            .setBasePath("/WEB-INF/flows")
            .addFlowLocationPattern("/**/*-flow.xml").build();
}
 
Example #11
Source File: ValidateWebflowConfigurer.java    From sso with MIT License 4 votes vote down vote up
public ValidateWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry loginFlowDefinitionRegistry, ApplicationContext applicationContext, CasConfigurationProperties casProperties) {
    super(flowBuilderServices, loginFlowDefinitionRegistry);
}
 
Example #12
Source File: CustomWebflowConfigurer.java    From sso with MIT License 4 votes vote down vote up
public CustomWebflowConfigurer(FlowBuilderServices flowBuilderServices, FlowDefinitionRegistry flowDefinitionRegistry) {
    super(flowBuilderServices, flowDefinitionRegistry);
}
 
Example #13
Source File: WebFlowConfig.java    From enhanced-pet-clinic with Apache License 2.0 4 votes vote down vote up
@Bean
public FlowDefinitionRegistry flowRegistry() {
	return getFlowDefinitionRegistryBuilder(flowBuilderServices()).setBasePath("classpath*:/templates")
			.addFlowLocationPattern("/**/*-flow.xml").build();
}
 
Example #14
Source File: WebFlowConfig.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
public FlowDefinitionRegistry flowRegistry() {
    return getFlowDefinitionRegistryBuilder(flowBuilderServices()).addFlowLocation("/WEB-INF/flows/activation-flow.xml", "activationFlow").build();
}
 
Example #15
Source File: SpringletsWebFlowConfiguration.java    From springlets with Apache License 2.0 2 votes vote down vote up
/**
 * The default flow definitions container that scans the application classpath to 
 * load the flow definition XML files automatically.
 * 
 * The registry base path is `classpath:templates`, that is, the flow definitions must be
 * the templates folder.
 * 
 * The flow location pattern used to register the flows is `/ ** / *-flow.xml`. To learn
 * more read http://docs.spring.io/spring-webflow/docs/current/reference/htmlsingle/#flow-registry-base-path[flow location base path].
 */
@Bean
public FlowDefinitionRegistry flowRegistry() {
  return getFlowDefinitionRegistryBuilder(flowBuilderServices())
      .setBasePath("classpath:templates").addFlowLocationPattern("/**/*-flow.xml").build();
}