public class WebAppContextLoader extends Object implements javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXTS |
protected static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
WebAppContextLoader() |
Modifier and Type | Method and Description |
---|---|
protected AppContext |
configureFromInitParam(javax.servlet.ServletContext context,
ClassLoader cl)
Creates a AppContext based on the init parameter
CONTEXTS . |
AppContext |
configureWebAppContext(javax.servlet.ServletContext context) |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
public static final String CONTEXTS
protected static final org.apache.commons.logging.Log LOG
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public AppContext configureWebAppContext(javax.servlet.ServletContext context)
protected AppContext configureFromInitParam(javax.servlet.ServletContext context, ClassLoader cl)
CONTEXTS
.context
- cl
- public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2010-2016 Oracle Corporation. All Rights Reserved.