Class AdminfacesAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.adminfaces.AdminfacesAutoConfiguration
-
@Configuration @EnableConfigurationProperties(AdminfacesProperties.class) @ComponentScan({"com.github.adminfaces.template.bean","com.github.adminfaces.template.config","com.github.adminfaces.template.security"}) @ServletComponentScan({"com.github.adminfaces.template.security","com.github.adminfaces.template.session"}) @ConditionalOnClass(com.github.adminfaces.template.session.AdminSession.class) @AutoConfigureBefore(PrimefacesAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) public class AdminfacesAutoConfiguration extends java.lang.Object
Spring Boot Auto Configuration of AdminFaces.
-
-
Constructor Summary
Constructors Constructor Description AdminfacesAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.beans.factory.config.BeanPostProcessor
adminfacesPrimeFacesPropertiesPostProcessor()
WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
adminfacesWebServerFactoryCustomizer()
ThisWebServerFactoryCustomizer
adds aServletContextInitializer
to the embedded servlet-container which is equivalent to adminfaces's ownMETA-INF/web-fragment.xml
.com.github.adminfaces.template.session.AdminSession
adminSession()
-
-
-
Method Detail
-
adminfacesPrimeFacesPropertiesPostProcessor
@Bean public org.springframework.beans.factory.config.BeanPostProcessor adminfacesPrimeFacesPropertiesPostProcessor()
-
adminSession
@Bean @Scope(value="session", proxyMode=TARGET_CLASS) public com.github.adminfaces.template.session.AdminSession adminSession()
-
adminfacesWebServerFactoryCustomizer
@Bean public WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> adminfacesWebServerFactoryCustomizer()
ThisWebServerFactoryCustomizer
adds aServletContextInitializer
to the embedded servlet-container which is equivalent to adminfaces's ownMETA-INF/web-fragment.xml
.- Returns:
- adminfaces web server factory customizer
-
-