1 package com.atlassian.config.spring;
2
3 import com.atlassian.config.util.BootstrapUtils;
4 import org.springframework.beans.BeansException;
5 import org.springframework.context.ApplicationContext;
6 import org.springframework.web.context.ContextLoader;
7
8 import javax.servlet.ServletContext;
9
10 public class BootstrappedContextLoader extends ContextLoader
11 {
12 protected ApplicationContext loadParentContext(ServletContext servletContext) throws BeansException
13 {
14 return BootstrapUtils.getBootstrapContext();
15 }
16 }