File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
org.springframework.web.servlet/src/main/java/org/springframework/web/servlet Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -445,6 +445,20 @@ protected WebApplicationContext createWebApplicationContext(ApplicationContext p
445
445
return wac ;
446
446
}
447
447
448
+ /**
449
+ * Instantiate the WebApplicationContext for this servlet, either a default
450
+ * {@link org.springframework.web.context.support.XmlWebApplicationContext}
451
+ * or a {@link #setContextClass custom context class}, if set.
452
+ * Delegates to #createWebApplicationContext(ApplicationContext).
453
+ * @param parent the parent WebApplicationContext to use, or <code>null</code> if none
454
+ * @return the WebApplicationContext for this servlet
455
+ * @see org.springframework.web.context.support.XmlWebApplicationContext
456
+ * @see #createWebApplicationContext(ApplicationContext)
457
+ */
458
+ protected WebApplicationContext createWebApplicationContext (WebApplicationContext parent ) {
459
+ return createWebApplicationContext ((ApplicationContext ) parent );
460
+ }
461
+
448
462
/**
449
463
* Post-process the given WebApplicationContext before it is refreshed
450
464
* and activated as context for this servlet.
You can’t perform that action at this time.
0 commit comments