protected void configure()

in src/main/java/com/googlesource/gerrit/plugins/manager/PluginModule.java [29:43]


  protected void configure() {
    bind(String.class)
        .annotatedWith(PluginCanonicalWebUrlPath.class)
        .toProvider(PluginCanonicalWebUrlPathProvider.class);

    DynamicSet.bind(binder(), TopMenu.class).to(PluginManagerTopMenu.class);

    DynamicSet.setOf(binder(), PluginsRepository.class);
    DynamicSet.bind(binder(), PluginsRepository.class).to(JenkinsCiPluginsRepository.class);
    DynamicSet.bind(binder(), PluginsRepository.class).to(CorePluginsRepository.class);

    install(PluginsCentralCache.module());

    bind(LifecycleListener.class).annotatedWith(UniqueAnnotations.create()).to(OnStartStop.class);
  }