Package org.apache.druid.guice
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 inDruidSecondaryModule
because extensions are loaded only in the server, butDruidSecondaryModule
is used for tests and clients also.
-
-
Constructor Summary
Constructors Constructor Description SecondaryModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(com.google.inject.Binder binder)
void
setExtensionLoader(ExtensionsLoader extnLoader)
-
-
-
Method Detail
-
setExtensionLoader
@Inject public void setExtensionLoader(ExtensionsLoader extnLoader)
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configure
in interfacecom.google.inject.Module
-
-