Class MyFacesAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.myfaces.MyFacesAutoConfiguration
-
- All Implemented Interfaces:
FacesImplementationAutoConfiguration
@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties({MyfacesProperties.class,MyFaces2_3Properties.class}) @ConditionalOnClass(org.apache.myfaces.ee.MyFacesContainerInitializer.class) @AutoConfigureBefore(org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class) @AutoConfigureAfter(JavaxFacesAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnMissingBean(FacesImplementationAutoConfiguration.class) public class MyFacesAutoConfiguration extends java.lang.Object implements FacesImplementationAutoConfiguration
Spring Boot Auto Configuration of MyFaces.
-
-
Constructor Summary
Constructors Constructor Description MyFacesAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MyFacesInitializerRegistrationBean<?>
myFacesNextServletContainerInitializer()
MyFacesInitializerRegistrationBean<?>
myFacesServletContainerInitializer()
WebFragmentRegistrationBean
myFacesWebFragmentRegistrationBean()
ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of themyfaces-impl.jar
.
-
-
-
Method Detail
-
myFacesServletContainerInitializer
@Bean @ConditionalOnMissingClass("org.apache.myfaces.webapp.MyFacesContainerInitializer") public MyFacesInitializerRegistrationBean<?> myFacesServletContainerInitializer()
-
myFacesNextServletContainerInitializer
@Bean @ConditionalOnClass(name="org.apache.myfaces.webapp.MyFacesContainerInitializer") public MyFacesInitializerRegistrationBean<?> myFacesNextServletContainerInitializer() throws java.lang.ClassNotFoundException
- Throws:
java.lang.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
-
-