mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 06:29:10 +00:00
Polish @Configuration Javadoc
Add note that nested @Configuration classes must be static. git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4282 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user