You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableApplicationContext.java
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2012 the original author or authors.
2
+
* Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -175,6 +175,13 @@ public final ConfigurableListableBeanFactory getBeanFactory() {
175
175
}
176
176
}
177
177
178
+
/**
179
+
* Overridden to turn it into a no-op: With AbstractRefreshableApplicationContext,
180
+
* {@link #getBeanFactory()} serves a strong assertion for an active context anyway.
181
+
*/
182
+
@Override
183
+
protectedvoidassertBeanFactoryActive() {
184
+
}
178
185
179
186
/**
180
187
* Create an internal bean factory for this context.
0 commit comments