@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @ImportResource(locations={"classpath*:/blc-config/bl-*-applicationContext.xml","classpath*:/blc-config/admin/bl-*-applicationContext.xml"}, reader=FrameworkXmlBeanDefinitionReader.class) public @interface EnableBroadleafAdminRootAutoConfiguration
Bootstraps the Broadleaf root admin configuration XML for only non-servlet beans. This can be placed on any @Configuration
class (except ones with additional @ImportResource) to make the root Broadleaf beans apart of the ApplicationContext
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.
Since this does not include any of the servlet-specific Broadleaf beans, this is generally only used when you are not running in a
servlet environment at all or there is a parent-child relationship between a root ApplicationContext and you want to
configure multiple servlets that share much of the same beans. In general, rather than create multiple servlets with shared
configuration you should instead create separate deployments and utilize EnableBroadleafAdminAutoConfiguration in a single place.
This import utilizes the FrameworkXmlBeanDefinitionReader so that framework XML bean definitions will not
overwrite beans defined in a project.
EnableBroadleafAdminAutoConfiguration,
EnableBroadleafAdminServletAutoConfiguration,
EnableBroadleafAutoConfigurationCopyright © 2017. All rights reserved.