public class ContextLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_CONTEXT_ID_PREFIX |
static String |
CONFIG_LOCATION_PARAM |
static String |
CONTEXT_CLASS_PARAM |
static String |
ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE |
| Constructor and Description |
|---|
ContextLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeApplicationContext(javax.servlet.ServletContext servletContext) |
protected void |
configureAndRefreshApplicationContext(org.springframework.context.ConfigurableApplicationContext wac,
javax.servlet.ServletContext sc) |
protected org.springframework.context.ConfigurableApplicationContext |
createApplicationContext(javax.servlet.ServletContext sc) |
protected void |
customizeContext(javax.servlet.ServletContext servletContext,
org.springframework.context.ConfigurableApplicationContext applicationContext) |
protected Class<?> |
determineContextClass(javax.servlet.ServletContext servletContext) |
static org.springframework.context.ConfigurableApplicationContext |
getContext(javax.servlet.ServletContext servletContext) |
org.springframework.context.ApplicationContext |
initApplicationContext(javax.servlet.ServletContext servletContext) |
public static final String ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
public static final String APPLICATION_CONTEXT_ID_PREFIX
public static final String CONTEXT_CLASS_PARAM
public static final String CONFIG_LOCATION_PARAM
protected org.springframework.context.ConfigurableApplicationContext createApplicationContext(javax.servlet.ServletContext sc)
public org.springframework.context.ApplicationContext initApplicationContext(javax.servlet.ServletContext servletContext)
protected void configureAndRefreshApplicationContext(org.springframework.context.ConfigurableApplicationContext wac,
javax.servlet.ServletContext sc)
protected void customizeContext(javax.servlet.ServletContext servletContext,
org.springframework.context.ConfigurableApplicationContext applicationContext)
protected Class<?> determineContextClass(javax.servlet.ServletContext servletContext)
public void closeApplicationContext(javax.servlet.ServletContext servletContext)
public static org.springframework.context.ConfigurableApplicationContext getContext(javax.servlet.ServletContext servletContext)
Copyright © 2005–2019 The Beangle Software. All rights reserved.