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 Object
    Spring Boot Auto Configuration of MyFaces.
    • Constructor Detail

      • MyFacesAutoConfiguration

        public MyFacesAutoConfiguration()
    • Method Detail

      • 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