commit
1d74d3df6f
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
* Copyright 2012-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -237,8 +237,8 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
|
|||
prepareWebApplicationContext(servletContext);
|
||||
registerApplicationScope(servletContext);
|
||||
WebApplicationContextUtils.registerEnvironmentBeans(getBeanFactory(), servletContext);
|
||||
for (ServletContextInitializer beans : getServletContextInitializerBeans()) {
|
||||
beans.onStartup(servletContext);
|
||||
for (ServletContextInitializer initializerBean : getServletContextInitializerBeans()) {
|
||||
initializerBean.onStartup(servletContext);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue