java spring configuration bean code example
Example: spring boot bean configuration
@Configuration
public class MyConfigurationClass {
@Bean
public MyBeanClass getMyBean() {
...
}
@Configuration
public class MyConfigurationClass {
@Bean
public MyBeanClass getMyBean() {
...
}