how to use @configuraion and @bean in spring code example
Example: spring boot bean configuration
@Configuration
public class MyConfigurationClass {
@Bean
public MyBeanClass getMyBean() {
...
}
@Configuration
public class MyConfigurationClass {
@Bean
public MyBeanClass getMyBean() {
...
}