Class FacesServletAutoConfiguration

    • Constructor Detail

      • FacesServletAutoConfiguration

        public FacesServletAutoConfiguration()
    • Method Detail

      • facesServletRegistrationBean

        @Bean
        public org.springframework.boot.web.servlet.ServletRegistrationBean<javax.faces.webapp.FacesServlet> facesServletRegistrationBean​(FacesServletProperties facesServletProperties)
        This bean registers the FacesServlet.

        This ServletRegistrationBean also sets two servlet-context attributes to inform Mojarra and MyFaces about the dynamically added Servlet.

        Parameters:
        facesServletProperties - The properties for the FacesServlet-registration.
        Returns:
        A custom ServletRegistrationBean which registers the FacesServlet.