Spring register beans using custom annotation

后端 未结 0 1790
梦毁少年i
梦毁少年i 2021-01-30 04:32

I need to register some configuration beans from another module. Here is what I have:

@Configuration
public class MyConfiguration {
    @Bean
    public FirstConf         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题