@ConditionalOnClass(value=javax.faces.application.ProjectStage.class) @AutoConfigureBefore(value=JavaxFacesAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) public class ProjectStageAutoConfiguration extends Object
ProjectStage
.Modifier and Type | Class and Description |
---|---|
static class |
ProjectStageAutoConfiguration.ProjectStageCustomizer
BeanPostProcessor for setting the JSF
project stage . |
Constructor and Description |
---|
ProjectStageAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
static ProjectStageAutoConfiguration.ProjectStageCustomizer |
developmentProjectStageCustomizer() |
static ProjectStageAutoConfiguration.ProjectStageCustomizer |
productionProjectStageCustomizer() |
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="debug") public static ProjectStageAutoConfiguration.ProjectStageCustomizer developmentProjectStageCustomizer()
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="debug", havingValue="false", matchIfMissing=true) public static ProjectStageAutoConfiguration.ProjectStageCustomizer productionProjectStageCustomizer()
Copyright © 2016–2018 JoinFaces. All rights reserved.