Search in sources :

Example 1 with FlowBuilderServicesBuilder

use of org.springframework.webflow.config.FlowBuilderServicesBuilder in project cas by apereo.

the class CasWebflowContextConfiguration method builder.

@RefreshScope
@Bean
public FlowBuilderServices builder() {
    final FlowBuilderServicesBuilder builder = new FlowBuilderServicesBuilder(this.applicationContext);
    builder.setViewFactoryCreator(viewFactoryCreator());
    builder.setExpressionParser(expressionParser());
    builder.setDevelopmentMode(casProperties.getWebflow().isRefresh());
    return builder.build();
}
Also used : FlowBuilderServicesBuilder(org.springframework.webflow.config.FlowBuilderServicesBuilder) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) CipherBean(org.cryptacular.bean.CipherBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Example 2 with FlowBuilderServicesBuilder

use of org.springframework.webflow.config.FlowBuilderServicesBuilder in project cas by apereo.

the class CasWebflowContextConfiguration method builder.

@RefreshScope
@Bean
public FlowBuilderServices builder() {
    final FlowBuilderServicesBuilder builder = new FlowBuilderServicesBuilder(this.applicationContext);
    builder.setViewFactoryCreator(viewFactoryCreator());
    builder.setExpressionParser(expressionParser());
    builder.setDevelopmentMode(casProperties.getWebflow().isRefresh());
    return builder.build();
}
Also used : FlowBuilderServicesBuilder(org.springframework.webflow.config.FlowBuilderServicesBuilder) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)2 RefreshScope (org.springframework.cloud.context.config.annotation.RefreshScope)2 Bean (org.springframework.context.annotation.Bean)2 FlowBuilderServicesBuilder (org.springframework.webflow.config.FlowBuilderServicesBuilder)2 CipherBean (org.cryptacular.bean.CipherBean)1