public class GuiceBundle<T extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<T>
| Constructor and Description |
|---|
GuiceBundle(InjectorProvider<T> injectorProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(T configuration,
io.dropwizard.setup.Environment environment) |
public GuiceBundle(InjectorProvider<T> injectorProvider)
injectorProvider - a provider for the Guice injector to usepublic void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>Copyright © 2014–2016 Soabase. All rights reserved.