Class AdminfacesAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @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 Object
    Spring Boot Auto Configuration of AdminFaces.
    • Constructor Detail

      • AdminfacesAutoConfiguration

        public AdminfacesAutoConfiguration()
    • 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()
      • adminTemplateWebFragmentRegistrationBean

        @Bean
        public WebFragmentRegistrationBean adminTemplateWebFragmentRegistrationBean()
        This WebFragmentRegistrationBean is equivalent to the META-INF/web-fragment.xml of the admin-template.jar.
        Returns:
        adminTemplateWebFragmentRegistrationBean
      • adminThemeWebFragmentRegistrationBean

        @Bean
        public WebFragmentRegistrationBean adminThemeWebFragmentRegistrationBean()
        This WebFragmentRegistrationBean is equivalent to the META-INF/web-fragment.xml of the admin-theme.jar.
        Returns:
        adminThemeWebFragmentRegistrationBean