Class MyFacesAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.myfaces.MyFacesAutoConfiguration
-
@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) public class MyFacesAutoConfiguration extends Object
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
myFacesServletContainerInitializer()
WebFragmentRegistrationBean
myFacesWebFragmentRegistrationBean()
ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of themyfaces-impl.jar
.
-
-
-
Method Detail
-
myFacesServletContainerInitializer
@Bean public MyFacesInitializerRegistrationBean myFacesServletContainerInitializer()
-
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
-
-