Class MyFacesAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @EnableConfigurationProperties({MyfacesProperties.class,MyFaces2_3Properties.class})
    @ConditionalOnClass(org.apache.myfaces.ee.MyFacesContainerInitializer.class)
    @AutoConfigureBefore(org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class)
    @AutoConfigureAfter(JavaxFacesAutoConfiguration.class)
    @ConditionalOnWebApplication(type=SERVLET)
    public class MyFacesAutoConfiguration
    extends java.lang.Object
    Spring Boot Auto Configuration of MyFaces.
    • Constructor Detail

      • MyFacesAutoConfiguration

        public MyFacesAutoConfiguration()
    • Method Detail

      • myFacesServletContainerInitializer

        @Bean
        @ConditionalOnMissingClass("org.apache.myfaces.webapp.MyFacesContainerInitializer")
        public MyFacesInitializerRegistrationBean<?> myFacesServletContainerInitializer()
      • myFacesNextServletContainerInitializer

        @Bean
        @ConditionalOnClass(name="org.apache.myfaces.webapp.MyFacesContainerInitializer")
        public MyFacesInitializerRegistrationBean<?> myFacesNextServletContainerInitializer()
                                                                                     throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • myFacesWebFragmentRegistrationBean

        @Bean
        @ConditionalOnClass(name="org.apache.myfaces.webapp.StartupServletContextListener")
        public WebFragmentRegistrationBean myFacesWebFragmentRegistrationBean()
        This WebFragmentRegistrationBean is equivalent to the META-INF/web-fragment.xml of the myfaces-impl.jar.
        Returns:
        myFacesWebFragmentRegistrationBean