How do I bind Different Interfaces using Google Guice?

后端 未结 3 936
臣服心动
臣服心动 2021-01-14 01:02

Do I need to create a new module with the Interface bound to a different implementation?

Chef newChef = Guice.createInjector(Stage.DEVELOPMENT, new Module()          


        
3条回答
提交回复
热议问题