Document createEnvironment() methods

in AbstractApplicationContext and SpringContextResourceAdapter
This commit is contained in:
Chris Beams
2011-01-05 22:25:42 +00:00
parent bc41cb2f27
commit 9420bdc246
2 changed files with 5 additions and 2 deletions

View File

@@ -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();