Class FacesServletAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.javaxfaces.FacesServletAutoConfiguration
-
@AutoConfiguration(after=JavaxFacesAutoConfiguration.class) @ConditionalOnClass(javax.faces.webapp.FacesServlet.class) @ConditionalOnWebApplication(type=SERVLET) @EnableConfigurationProperties(FacesServletProperties.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
ServletRegistrationBean
also sets twoservlet-context attributes
to inform Mojarra and MyFaces about the dynamically added Servlet.- Parameters:
facesServletProperties
- The properties for theFacesServlet
-registration.- Returns:
- A custom
ServletRegistrationBean
which registers theFacesServlet
.
-
-