Class MojarraAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.mojarra.MojarraAutoConfiguration
- All Implemented Interfaces:
FacesImplementationAutoConfiguration
@AutoConfiguration(before=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class,
after=JakartaFaces3AutoConfiguration.class)
@EnableConfigurationProperties(MojarraProperties.class)
@ConditionalOnClass(com.sun.faces.config.FacesInitializer.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnMissingBean(FacesImplementationAutoConfiguration.class)
@ImportRuntimeHints(MojarraRuntimeHintsRegistrar.class)
public class MojarraAutoConfiguration
extends Object
implements FacesImplementationAutoConfiguration
Spring Boot Auto Configuration for Mojarra.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTldListenerRegistrationBean
for the 'jsf_core.tld' of Mojarra 3.
-
Constructor Details
-
MojarraAutoConfiguration
public MojarraAutoConfiguration()
-
-
Method Details
-
mojarraServletContainerInitializer
@Bean public ServletContainerInitializerRegistrationBean<FacesInitializer> mojarraServletContainerInitializer() -
mojarraServletContainerInitializer2
@Bean @ConditionalOnClass(com.sun.faces.config.FacesInitializer2.class) public ServletContainerInitializerRegistrationBean<FacesInitializer2> mojarraServletContainerInitializer2() -
mojarraTldListenerRegistrationBean
@Bean @ConditionalOnResource(resources="classpath:/META-INF/jsf_core.tld") public TldListenerRegistrationBean mojarraTldListenerRegistrationBean()TldListenerRegistrationBean
for the 'jsf_core.tld' of Mojarra 3. Not needed for Mojarra 4+.- Returns:
- The
TldListenerRegistrationBean
.
-