Java 类com.google.inject.internal.DynamicSingletonProvider 实例源码

项目:guice-ext-annotations    文件:GeneratorAnchorModule.java   
@Override
protected void configure() {
    // providers bound explicitly to tie them to child injector
    bind(DynamicClassProvider.class);
    bind(DynamicSingletonProvider.class);
    // anchor bean used to tie dynamically provided beans to child injector
    bind(AnchorBean.class).in(Singleton.class);
}