Class CdiScopeAnnotationsAutoConfiguration


  • @Configuration
    @ConditionalOnClass(javax.enterprise.context.RequestScoped.class)
    @ConditionalOnWebApplication(type=SERVLET)
    public class CdiScopeAnnotationsAutoConfiguration
    extends java.lang.Object
    Auto configuration for javax.enterprise.context.*Scoped annotations support.
    • Constructor Detail

      • CdiScopeAnnotationsAutoConfiguration

        public CdiScopeAnnotationsAutoConfiguration()
    • Method Detail

      • cdiScopeAnnotationsConfigurer

        @Bean
        @ConditionalOnProperty(value="jsf.scope-configurer.cdi.enabled",
                               havingValue="true",
                               matchIfMissing=true)
        public static CustomScopeAnnotationConfigurer cdiScopeAnnotationsConfigurer​(org.springframework.core.env.Environment environment)