mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Document createEnvironment() methods
in AbstractApplicationContext and SpringContextResourceAdapter
This commit is contained in:
+2
@@ -411,6 +411,8 @@ public abstract class AbstractApplicationContext extends DefaultResourceLoader
|
||||
|
||||
/**
|
||||
* Create and return a new {@link DefaultEnvironment}.
|
||||
* <p>Subclasses may override this method in order to supply
|
||||
* a custom {@link ConfigurableEnvironment} implementation.
|
||||
*/
|
||||
protected ConfigurableEnvironment createEnvironment() {
|
||||
return new DefaultEnvironment();
|
||||
|
||||
Reference in New Issue
Block a user