Polish @Configuration Javadoc

Add note that nested @Configuration classes must be static.
This commit is contained in:
Chris Beams 2011-05-11 06:08:40 +00:00
parent 52bef0b7b0
commit 693204aef8
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ import org.springframework.stereotype.Component;
* <li>Configuration classes must be non-final
* <li>Configuration classes must be non-local (may not be declared within a method)
* <li>Configuration classes must have a default/no-arg constructor and may not use
* {@link Autowired} constructor parameters
* {@link Autowired} constructor parameters. Nested configuration classes must be
* {@code static}
* </ul>
*
* @author Rod Johnson