Document createEnvironment() methods
in AbstractApplicationContext and SpringContextResourceAdapter
This commit is contained in:
@@ -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