How to retrieve annotated instance from Guice's injector?

后端 未结 2 465
我寻月下人不归
我寻月下人不归 2021-01-30 02:47

Let\'s say I have a module:

Module extends AbstractModule
{
  @Override
  protected void configure()
  {
    bind(String.class).
      annotatedWith(Names.named(         


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