public class BroadleafEnvironmentConfiguringApplicationListener extends BroadleafEnvironmentConfigurer implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
In non-boot this class should be hooked up in your web.xml as shown below
<context-param> <param-name>contextInitializerClasses</param-name> <param-value>org.broadleafcommerce.common.config.BroadleafEnvironmentConfiguringApplicationListener</param-value> </context-param>For Spring Boot deployments see
BroadleafEnvironmentConfiguringPostProcessorBroadleafEnvironmentConfigurerDEPRECATED_RUNTIME_ENVIRONMENT_KEY, FRAMEWORK_SOURCES_NAME, OVERRIDE_SOURCES_NAME, PROFILE_AWARE_SOURCES_NAME, PROPERTY_OVERRIDES_PROPERTY, PROPERTY_SHARED_OVERRIDES_PROPERTY, SHARED_OVERRIDE_SOURCES_NAME| Constructor and Description |
|---|
BroadleafEnvironmentConfiguringApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.springframework.context.ConfigurableApplicationContext applicationContext) |
addToEnvironment, configure, createClasspathResource, getDeprecatedDefaultProfileKey, getFrameworkSources, getProfileAwareSourcesCopyright © 2024. All rights reserved.