2.2. @Bean - Spring
https://docs.spring.io/spring-javaconfig/docs/1.0.0.M4/reference/html/ch02s02.html
@Bean is a method-level annotation and a direct analog of the XML <bean/> element. The annotation supports most of the attributes offered by <bean/>, such as: init-method , destroy-method , autowiring , lazy-init , dependency-check , depends-on and scope . …
DA: 6 PA: 94 MOZ Rank: 88