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

@@ -144,10 +144,11 @@ public class SpringContextResourceAdapter implements ResourceAdapter {
}
/**
* Return
* Return a new {@link DefaultEnvironment}.
* <p>Subclasses may override this method in order to supply
* a custom {@link ConfigurableEnvironment} implementation.
*/
protected ConfigurableEnvironment createEnvironment() {
// TODO: should actually return
return new DefaultEnvironment();
}