org.broadleafcommerce.common.web.extensibility
Class MergeContextLoaderListener

java.lang.Object
  extended by org.springframework.web.context.ContextLoader
      extended by org.springframework.web.context.ContextLoaderListener
          extended by org.broadleafcommerce.common.web.extensibility.MergeContextLoaderListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class MergeContextLoaderListener
extends org.springframework.web.context.ContextLoaderListener

Bootstrap listener to start up BroadleafCommerce's rootId MergeWebApplicationContext. Simply delegates to MergeContextLoader.

This listener should be registered after org.springframework.web.util.Log4jConfigListener in web.xml, if the latter is used.

Author:
Jeff Fischer

Field Summary
 
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
 
Constructor Summary
MergeContextLoaderListener()
           
 
Method Summary
protected  MergeContextLoader createContextLoader()
          Create the ContextLoader to use.
 
Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyed, contextInitialized, getContextLoader
 
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeContextLoaderListener

public MergeContextLoaderListener()
Method Detail

createContextLoader

protected MergeContextLoader createContextLoader()
Create the ContextLoader to use. Can be overridden in subclasses.

Overrides:
createContextLoader in class org.springframework.web.context.ContextLoaderListener
Returns:
the new ContextLoader


Copyright © 2012. All Rights Reserved.