|
|
@ -94,7 +94,7 @@ public class AnnotationConfigContextLoader extends AbstractGenericContextLoader |
|
|
|
* <li>must be annotated with {@code @Configuration}</li> |
|
|
|
* <li>must be annotated with {@code @Configuration}</li> |
|
|
|
* </ul> |
|
|
|
* </ul> |
|
|
|
* |
|
|
|
* |
|
|
|
* @param clazz the class the check |
|
|
|
* @param clazz the class to check |
|
|
|
* @return <code>true</code> if the supplied class meets the candidate criteria |
|
|
|
* @return <code>true</code> if the supplied class meets the candidate criteria |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean isDefaultConfigurationClassCandidate(Class<?> clazz) { |
|
|
|
private boolean isDefaultConfigurationClassCandidate(Class<?> clazz) { |
|
|
@ -104,7 +104,7 @@ public class AnnotationConfigContextLoader extends AbstractGenericContextLoader |
|
|
|
/** |
|
|
|
/** |
|
|
|
* TODO Document generatesDefaults(). |
|
|
|
* TODO Document generatesDefaults(). |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
// TODO Consider moving to SmartContextLoader SPI.
|
|
|
|
// TODO Consider defining generatesDefaults() in the SmartContextLoader SPI.
|
|
|
|
protected boolean generatesDefaults() { |
|
|
|
protected boolean generatesDefaults() { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|