Example usage for Java org.springframework.web.context ContextLoaderListener fields, constructors, methods, implement or subclass
The text is from its open source code.
ContextLoaderListener() Create a new ContextLoaderListener that will create a web application context based on the "contextClass" and "contextConfigLocation" servlet context-params. | |
ContextLoaderListener(WebApplicationContext context) Create a new ContextLoaderListener with the given application context. |
void | contextInitialized(ServletContextEvent event) Initialize the root web application context. |
void | setContextInitializers(@Nullable ApplicationContextInitializer>... initializers) Specify which ApplicationContextInitializer instances should be used to initialize the application context used by this ContextLoader . |