**[Rossen Stoyanchev](https://jira.spring.io/secure/ViewProfile.jspa?name=rstoya05-aop)** opened **[SPR-16204](https://jira.spring.io/browse/SPR-16204?redirect=false)** and commented XML bean declarations support this attribute but not `@Bean` declarations. The need for this has come up in #20737 and now also #20751. --- **Affects:** 5.0.1 **Issue Links:** - #20737 WebSocketConfigurationSupport.defaultSockJsTaskScheduler adds NoOpScheduler to context that is not usable in any way (_**"is depended on by"**_) - #20751 Warn about use of SimpleAsyncTaskExecutor for async requests (_**"is depended on by"**_) - #13043 Support disabling `@Autowired` on a per-`@Bean` basis - #21572 Consistent non-exposure of null beans in the BeanFactory API - #21814 Deprecate autowire attribute on `@Bean` annotation **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/fc699b2b3784413bb7348b8c2a92eb2ab871479f
Rossen Stoyanchev opened SPR-16204 and commented
XML bean declarations support this attribute but not
@Beandeclarations. The need for this has come up in #20737 and now also #20751.Affects: 5.0.1
Issue Links:
@Autowiredon a per-@Beanbasis@BeanannotationReferenced from: commits fc699b2