Document @Bean 'lite' mode and annotated classes in the reference manual [SPR-9425] #14061
Closed
2 tasks
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: documentation
A documentation task
Milestone
Sam Brannen opened SPR-9425 and commented
Overview
#13690 raised valid concerns about exactly what kinds of classes are supported with
AnnotationConfigApplicationContext
,AnnotatedBeanDefinitionReader
,@ContextConfiguration(classes=...)
, etc.This issue picks up where #14037 left off.
Deliverables
The following should be explicitly documented in the Java-based container configuration section of the reference manual.
@ContextConfiguration
Javadoc below@Bean
Lite Mode@Bean
Javadoc belowTalking Points
The following is a collection of talking points that can be covered in the reference manual.
The reference manual should not only discuss the above talking points, but it should also mention some of the undesirable side effects that may occur when naïvely using
@Bean-methods
in lite mode -- for example, the issues encountered in #13690.Related Documentation
@Bean
Javadoc@ContextConfiguration
JavadocAffects: 3.1 GA
Issue Links:
@Configuration
@Bean
'lite' mode and annotated class support in the TestContext Framework@Configuration
Referenced from: commits 5730b8d, 5cd6543
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: