Class ExtensionsModule.SecondaryModule

java.lang.Object
org.apache.druid.guice.ExtensionsModule.SecondaryModule
All Implemented Interfaces:
com.google.inject.Module
Enclosing class:
ExtensionsModule

public static class ExtensionsModule.SecondaryModule extends Object implements com.google.inject.Module
Transfers the now-populated extension loader instance from the startup to the main injector. Not done in DruidSecondaryModule because extensions are loaded only in the server, but DruidSecondaryModule is used for tests and clients also.
  • Constructor Details

    • SecondaryModule

      public SecondaryModule()
  • Method Details

    • setExtensionLoader

      @Inject public void setExtensionLoader(ExtensionsLoader extnLoader)
    • configure

      public void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module