Class HybrisStorefrontContextLoaderListener
- java.lang.Object
-
- org.springframework.web.context.ContextLoader
-
- org.springframework.web.context.ContextLoaderListener
-
- de.hybris.platform.spring.HybrisContextLoaderListener
-
- de.hybris.platform.yacceleratorstorefront.filters.HybrisStorefrontContextLoaderListener
-
- All Implemented Interfaces:
java.util.EventListener,javax.servlet.ServletContextListener
public class HybrisStorefrontContextLoaderListener extends HybrisContextLoaderListener
The HybrisContextLoaderListener load spring config files into the the web application context. The config files are also loaded from properties which are prefixed with the display name of the web application. As the accelerator is a template the final name of the web application is not know at this time, therefore this class also loads properties using the 'acceleratorstorefront' prefix.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringACCELERATORSTOREFRONT-
Fields inherited from class de.hybris.platform.spring.HybrisContextLoaderListener
ADDITIONAL_WEB_SPRING_CONFIGS, ADDITIONAL_WEB_SPRING_CONFIGS_FROM_EXT, CORE_SPRING_DEVELOPMENT_MODE_FLAG_KEY, WEB_SPRING_DEVELOPMENT_MODE_FLAG_KEY
-
-
Constructor Summary
Constructors Constructor Description HybrisStorefrontContextLoaderListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillConfigLocations(java.lang.String appName, java.util.List<java.lang.String> locations)-
Methods inherited from class de.hybris.platform.spring.HybrisContextLoaderListener
addCustomConfigLocations, adjustTenant, attachTenantIDToServletContext, contextInitialized, createWebApplicationContext, customizeContext, doInitWebApplicationContext, fillConfigLocationsFromExtension, fillConfigLocationsFromExtensions, fillConfigLocationsFromParameter, fillLegacyConfigLocations, getTenanId, getTenantIDForWebapp, initWebApplicationContext, loadParentContext, readConfigParameter, registerHttpSessionListener, runWithActiveJaloSession, runWithTenant, startRegistry
-
-
-
-
Field Detail
-
ACCELERATORSTOREFRONT
protected static final java.lang.String ACCELERATORSTOREFRONT
- See Also:
- Constant Field Values
-
-
Method Detail
-
fillConfigLocations
protected void fillConfigLocations(java.lang.String appName, java.util.List<java.lang.String> locations)- Overrides:
fillConfigLocationsin classHybrisContextLoaderListener
-
-