|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.web.context.ContextLoader
org.figure8.join.core.ContainerContextLoader
public class ContainerContextLoader
An extension of Spring ContextLoader that always load the
Join bootstrap context as parent context.
| Field Summary | |
|---|---|
static java.lang.String |
EXTRA_CONFIG_LOCATION_PARAM
Name of servlet context parameter that can specify the extra config location for the root context. |
| Fields inherited from class org.springframework.web.context.ContextLoader |
|---|
BEAN_FACTORY_LOCATOR_FACTORY_KEY_PARAM, beanFactoryRef, CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, DEFAULT_CONTEXT_CLASS, LOCATOR_FACTORY_SELECTOR_PARAM |
| Constructor Summary | |
|---|---|
ContainerContextLoader()
Creates a new instance of ContainerContextLoader |
|
| Method Summary | |
|---|---|
protected boolean |
addingExtraConfigLocationAllowed()
Check if some extra configuration files locations should be added to the default one. |
protected org.springframework.web.context.WebApplicationContext |
createWebApplicationContext(javax.servlet.ServletContext servletContext,
org.springframework.context.ApplicationContext parent)
Instantiate the root WebApplicationContext for this loader, ie a XmlWebApplicationContext. |
protected org.springframework.context.ApplicationContext |
loadParentContext(javax.servlet.ServletContext servletContext)
Load the parent context for the given servlet context. |
| Methods inherited from class org.springframework.web.context.ContextLoader |
|---|
closeWebApplicationContext, initWebApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXTRA_CONFIG_LOCATION_PARAM
addingExtraConfigLocationAllowed()
| Constructor Detail |
|---|
public ContainerContextLoader()
| Method Detail |
|---|
protected org.springframework.context.ApplicationContext loadParentContext(javax.servlet.ServletContext servletContext)
throws org.springframework.beans.BeansException
loadParentContext in class org.springframework.web.context.ContextLoaderservletContext - Servlet context for whom load parent context
org.springframework.beans.BeansException
protected org.springframework.web.context.WebApplicationContext createWebApplicationContext(javax.servlet.ServletContext servletContext,
org.springframework.context.ApplicationContext parent)
throws org.springframework.beans.BeansException
This implementation expects custom contexts to implement ConfigurableWebApplicationContext. Can be overridden in subclasses.
createWebApplicationContext in class org.springframework.web.context.ContextLoaderservletContext - current servlet contextparent - the parent ApplicationContext to use, or null if none
org.springframework.beans.BeansException - if the context couldn't be initializedprotected boolean addingExtraConfigLocationAllowed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||