Klasse FacesServletAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.faces.FacesServletAutoConfiguration
@AutoConfiguration(after=JakartaFaces3AutoConfiguration.class)
@ConditionalOnClass(jakarta.faces.webapp.FacesServlet.class)
@ConditionalOnWebApplication(type=SERVLET)
@EnableConfigurationProperties(FacesServletProperties.class)
public class FacesServletAutoConfiguration
extends Object
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfacesServletRegistrationBean
(FacesServletProperties facesServletProperties, ObjectProvider<MultipartConfigElement> multipartConfig) This bean registers theFacesServlet
.
-
Konstruktordetails
-
FacesServletAutoConfiguration
public FacesServletAutoConfiguration()
-
-
Methodendetails
-
facesServletRegistrationBean
@Bean public ServletRegistrationBean<FacesServlet> facesServletRegistrationBean(FacesServletProperties facesServletProperties, ObjectProvider<MultipartConfigElement> multipartConfig) This bean registers theFacesServlet
.This
ServletRegistrationBean
also sets twoservlet-context attributes
to inform Mojarra and MyFaces about the dynamically added Servlet.- Parameter:
facesServletProperties
- The properties for theFacesServlet
-registration.multipartConfig
- TheMultipartConfigElement
for the FacesServlet, if available.- Gibt zurück:
- A custom
ServletRegistrationBean
which registers theFacesServlet
.
-