public class StandardInjectorProvider<T extends io.dropwizard.Configuration> extends Object implements InjectorProvider<T>
Constructor and Description |
---|
StandardInjectorProvider(com.google.inject.Module... modules) |
Modifier and Type | Method and Description |
---|---|
com.google.inject.Injector |
get(T configuration,
io.dropwizard.setup.Environment environment,
com.google.inject.Module additionalModule)
Return the Guice injector
|
public StandardInjectorProvider(com.google.inject.Module... modules)
public com.google.inject.Injector get(T configuration, io.dropwizard.setup.Environment environment, com.google.inject.Module additionalModule)
InjectorProvider
get
in interface InjectorProvider<T extends io.dropwizard.Configuration>
configuration
- Dropwizard configurationenvironment
- Dropwizard environmentadditionalModule
- This module must be installed in the injectorCopyright © 2014–2016 Soabase. All rights reserved.