@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @ImportResource(locations={"classpath*:/blc-config/bl-*-applicationContext.xml","classpath*:/blc-config/admin/bl-*-applicationContext.xml","classpath*:/blc-config/bl-*-applicationContext-servlet.xml","classpath*:/blc-config/admin/bl-*-applicationContext-servlet.xml"}, reader=FrameworkXmlBeanDefinitionReader.class) public @interface EnableBroadleafAdminAutoConfiguration
Bootstraps Broadleaf admin configuration XML for both servlet and non-servlet. As a result, this annotation should only be placed
on an @Configuration class within a servlet. If there are no custom ServletContainerInitializers with
a servlet-specific ApplicationContext (like in a non-servlet spring boot application) then this can be placed on the main
@SpringBootApplication class
Since this annotation is a meta-annotation for @ImportResource, this cannot be placed on a @Configuration class that contains an @ImportResource annotation directly or on a meta-annotation.
This import utilizes the FrameworkXmlBeanDefinitionReader so that framework XML bean definitions will not
overwrite beans defined in a project.
EnableBroadleafAdminRootAutoConfiguration,
EnableBroadleafAdminServletAutoConfiguration,
EnableBroadleafAutoConfigurationCopyright © 2017. All rights reserved.