@Configuration @EnableConfigurationProperties(value={MyfacesProperties.class,MyFaces2_3Properties.class}) @ConditionalOnClass(value=org.apache.myfaces.ee.MyFacesContainerInitializer.class) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class) @AutoConfigureAfter(value=JavaxFacesAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) public class MyFacesAutoConfiguration extends Object
Constructor and Description |
---|
MyFacesAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
MyFacesInitializerRegistrationBean |
myFacesServletContainerInitializer() |
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory> |
myFacesStartupServletContextListener() |
@Bean public MyFacesInitializerRegistrationBean myFacesServletContainerInitializer()
@Bean @ConditionalOnClass(name="org.apache.myfaces.webapp.StartupServletContextListener") public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory> myFacesStartupServletContextListener()
Copyright © 2016–2018 JoinFaces. All rights reserved.