Class FacesServletAutoConfiguration
- java.lang.Object
 - 
- org.joinfaces.autoconfigure.javaxfaces.FacesServletAutoConfiguration
 
 
- 
@Configuration(proxyBeanMethods=false) @ConditionalOnClass(javax.faces.webapp.FacesServlet.class) @ConditionalOnWebApplication(type=SERVLET) @EnableConfigurationProperties(FacesServletProperties.class) @AutoConfigureAfter(JavaxFacesAutoConfiguration.class) public class FacesServletAutoConfiguration extends java.lang.Object
 
- 
- 
Constructor Summary
Constructors Constructor Description FacesServletAutoConfiguration() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.web.servlet.ServletRegistrationBean<javax.faces.webapp.FacesServlet>facesServletRegistrationBean(FacesServletProperties facesServletProperties)This bean registers theFacesServlet. 
 - 
 
- 
- 
Method Detail
- 
facesServletRegistrationBean
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<javax.faces.webapp.FacesServlet> facesServletRegistrationBean(FacesServletProperties facesServletProperties)
This bean registers theFacesServlet.This
ServletRegistrationBeanalso sets twoservlet-context attributesto inform Mojarra and MyFaces about the dynamically added Servlet.- Parameters:
 facesServletProperties- The properties for theFacesServlet-registration.- Returns:
 - A custom 
ServletRegistrationBeanwhich registers theFacesServlet. 
 
 - 
 
 -