Class AbstractContextLoaderInitializer

java.lang.Object
org.springframework.web.context.AbstractContextLoaderInitializer
All Implemented Interfaces:
WebApplicationInitializer
Direct Known Subclasses:
AbstractDispatcherServletInitializer

public abstract class AbstractContextLoaderInitializer extends Object implements WebApplicationInitializer
Convenient base class for WebApplicationInitializer implementations that register a ContextLoaderListener in the servlet context.

The only method required to be implemented by subclasses is createRootApplicationContext(), which gets invoked from registerContextLoaderListener(ServletContext).

Since:
3.2
Author:
Arjen Poutsma, Chris Beams, Juergen Hoeller