| org.sakaiproject.component.impl.ContextLoader
ContextLoader | public class ContextLoader extends org.springframework.web.context.ContextLoader (Code) | |
Sakai's extension to Spring's ContextLoader - adds the location of the ComponentManager shared AC, linking the local AC to it as parent, and loading localy hosted components into shared.
|
Field Summary | |
final public static String | SHARED_LOCATION_PARAM Name of servlet context parameter that can specify the config location for loading into the shared component set. |
SHARED_LOCATION_PARAM | final public static String SHARED_LOCATION_PARAM(Code) | | Name of servlet context parameter that can specify the config location for loading into the shared component set.
|
initWebApplicationContext | public WebApplicationContext initWebApplicationContext(ServletContext servletContext) throws BeansException(Code) | | Initialize the local ApplicationContext, link it to the shared context, and load shared definitions into the shared context.
Parameters: servletContext - current servlet context the new WebApplicationContext throws: BeansException - if the context couldn't be initialized |
loadParentContext | protected ApplicationContext loadParentContext(ServletContext servletContext) throws BeansException(Code) | | Access the shared ApplicationContext
Parameters: servletContext - (not used) The shared application context |
|
|