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