The following class uses `@Bean` on a field, but is missing `@Component` or `@Configuration` annotation on the class. Is it intentional? https://github.com/matevip/matecloud/blob/52471eb8e8cfd6487c49af51a51a2274edb05322/mate-core/mate-starter-common/src/main/java/vip/mate/core/common/config/DefaultAsyncTaskConfig.java#L22 Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html
The following class uses
@Beanon a field, but is missing@Componentor@Configurationannotation on the class. Is it intentional?https://github.com/matevip/matecloud/blob/52471eb8e8cfd6487c49af51a51a2274edb05322/mate-core/mate-starter-common/src/main/java/vip/mate/core/common/config/DefaultAsyncTaskConfig.java#L22
Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html