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:
EventListener,javax.servlet.ServletContextListener
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
FieldsFields 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_KEYFields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, GLOBAL_INITIALIZER_CLASSES_PARAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillConfigLocations(String appName, List<String> locations) Methods inherited from class de.hybris.platform.spring.HybrisContextLoaderListener
addCustomConfigLocations, adjustTenant, attachTenantIDToServletContext, contextInitialized, contextInitializedInternal, createWebApplicationContext, customizeContext, doInitWebApplicationContext, fillConfigLocationsFromExtension, fillConfigLocationsFromExtensions, fillConfigLocationsFromParameter, fillLegacyConfigLocations, getTenanId, getTenantIDForWebapp, initWebApplicationContext, loadParentContext, readConfigParameter, registerHttpSessionListener, runWithActiveJaloSession, runWithTenant, startRegistryMethods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyedMethods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, setContextInitializers
-
Field Details
-
ACCELERATORSTOREFRONT
- See Also:
-
-
Constructor Details
-
HybrisStorefrontContextLoaderListener
public HybrisStorefrontContextLoaderListener()
-
-
Method Details
-
fillConfigLocations
- Overrides:
fillConfigLocationsin classHybrisContextLoaderListener
-