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