The following class uses @Bean on a field, but is missing @Component or @Configuration annotation on the class. Is it intentional?
Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html