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 in
DruidSecondaryModule
because extensions are loaded only in the server, but
DruidSecondaryModule is used for tests and clients also.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) voidsetExtensionLoader(ExtensionsLoader extnLoader)
-
Constructor Details
-
SecondaryModule
public SecondaryModule()
-
-
Method Details
-
setExtensionLoader
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configurein interfacecom.google.inject.Module
-