Class MyFacesAutoConfiguration

java.lang.Object
org.joinfaces.autoconfigure.myfaces.MyFacesAutoConfiguration

@AutoConfiguration(before=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class, after=JakartaFaces3AutoConfiguration.class) @EnableConfigurationProperties({MyfacesProperties.class,MyFaces2_3Properties.class}) @ConditionalOnClass(org.apache.myfaces.ee.MyFacesContainerInitializer.class) @ConditionalOnWebApplication(type=SERVLET) public class MyFacesAutoConfiguration extends Object
Spring Boot Auto Configuration of MyFaces.
  • Constructor Details

    • MyFacesAutoConfiguration

      public MyFacesAutoConfiguration()
  • Method Details

    • myFacesServletContainerInitializer

      @Bean public MyFacesInitializerRegistrationBean myFacesServletContainerInitializer()
    • 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