Class MyFacesAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.myfaces.MyFacesAutoConfiguration
- All Implemented Interfaces:
FacesImplementationAutoConfiguration
@AutoConfiguration(before=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class,
after=JakartaFaces3AutoConfiguration.class)
@EnableConfigurationProperties({MyFacesProperties.class,MyFaces2_3Properties.class})
@ConditionalOnClass(org.apache.myfaces.webapp.StartupServletContextListener.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnMissingBean(FacesImplementationAutoConfiguration.class)
@ImportRuntimeHints(MyFacesRuntimeHintsRegistrar.class)
public class MyFacesAutoConfiguration
extends Object
implements FacesImplementationAutoConfiguration
Spring Boot Auto Configuration of MyFaces.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of themyfaces-impl.jar
.
-
Constructor Details
-
MyFacesAutoConfiguration
public MyFacesAutoConfiguration()
-
-
Method Details
-
myFaces3ServletContainerInitializer
@Bean @ConditionalOnClass(name="org.apache.myfaces.ee.MyFacesContainerInitializer") public MyFacesInitializerRegistrationBean<?> myFaces3ServletContainerInitializer() throws ClassNotFoundException- Throws:
ClassNotFoundException
-
myFacesWebFragmentRegistrationBean
@Bean @ConditionalOnClass(name="org.apache.myfaces.webapp.StartupServletContextListener") public WebFragmentRegistrationBean myFacesWebFragmentRegistrationBean()ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of themyfaces-impl.jar
.- Returns:
- myFacesWebFragmentRegistrationBean
-