Package com.hybris.backoffice
Class BackofficeApplicationContextInitializer
- java.lang.Object
-
- org.springframework.web.context.ContextLoader
-
- org.springframework.web.context.ContextLoaderListener
-
- de.hybris.platform.spring.HybrisContextLoaderListener
-
- com.hybris.backoffice.BackofficeApplicationContextInitializer
-
- All Implemented Interfaces:
java.util.EventListener,javax.servlet.http.HttpSessionListener,javax.servlet.ServletContextListener
public class BackofficeApplicationContextInitializer extends HybrisContextLoaderListener implements javax.servlet.http.HttpSessionListener
AServletContextListenerthat initializes application context for Backoffice.- See Also:
BackofficeApplicationContext
-
-
Field Summary
-
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 BackofficeApplicationContextInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.context.WebApplicationContextcreateDefaultWebApplicationContext(javax.servlet.ServletContext servletContext)protected org.springframework.web.context.WebApplicationContextcreateWebApplicationContext(javax.servlet.ServletContext servletContext)voidsessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)voidsessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)-
Methods inherited from class de.hybris.platform.spring.HybrisContextLoaderListener
addCustomConfigLocations, adjustTenant, attachTenantIDToServletContext, contextInitialized, customizeContext, doInitWebApplicationContext, fillConfigLocations, fillConfigLocationsFromExtension, fillConfigLocationsFromExtensions, fillConfigLocationsFromParameter, fillLegacyConfigLocations, getTenanId, getTenantIDForWebapp, initWebApplicationContext, loadParentContext, readConfigParameter, registerHttpSessionListener, runWithActiveJaloSession, runWithTenant, startRegistry
-
-
-
-
Method Detail
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
- Specified by:
sessionCreatedin interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
- Specified by:
sessionDestroyedin interfacejavax.servlet.http.HttpSessionListener
-
createWebApplicationContext
protected org.springframework.web.context.WebApplicationContext createWebApplicationContext(javax.servlet.ServletContext servletContext)
- Overrides:
createWebApplicationContextin classHybrisContextLoaderListener
-
createDefaultWebApplicationContext
protected org.springframework.web.context.WebApplicationContext createDefaultWebApplicationContext(javax.servlet.ServletContext servletContext)
-
-