commit
c5fd09d06d
|
@ -50,7 +50,6 @@ import org.springframework.context.ApplicationContext;
|
||||||
import org.springframework.context.ApplicationContextException;
|
import org.springframework.context.ApplicationContextException;
|
||||||
import org.springframework.core.io.Resource;
|
import org.springframework.core.io.Resource;
|
||||||
import org.springframework.util.StringUtils;
|
import org.springframework.util.StringUtils;
|
||||||
import org.springframework.web.context.ContextLoader;
|
|
||||||
import org.springframework.web.context.ContextLoaderListener;
|
import org.springframework.web.context.ContextLoaderListener;
|
||||||
import org.springframework.web.context.ServletContextAware;
|
import org.springframework.web.context.ServletContextAware;
|
||||||
import org.springframework.web.context.WebApplicationContext;
|
import org.springframework.web.context.WebApplicationContext;
|
||||||
|
@ -87,6 +86,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
|
||||||
*
|
*
|
||||||
* @author Phillip Webb
|
* @author Phillip Webb
|
||||||
* @author Dave Syer
|
* @author Dave Syer
|
||||||
|
* @author Scott Frederick
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
* @see AnnotationConfigServletWebServerApplicationContext
|
* @see AnnotationConfigServletWebServerApplicationContext
|
||||||
* @see XmlServletWebServerApplicationContext
|
* @see XmlServletWebServerApplicationContext
|
||||||
|
@ -270,7 +270,6 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Log logger = LogFactory.getLog(ContextLoader.class);
|
|
||||||
servletContext.log("Initializing Spring embedded WebApplicationContext");
|
servletContext.log("Initializing Spring embedded WebApplicationContext");
|
||||||
try {
|
try {
|
||||||
servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, this);
|
servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, this);
|
||||||
|
|
Loading…
Reference in New Issue