Interface BootstrapAwareModule<T extends io.dropwizard.core.Configuration>
-
- Type Parameters:
T
- configuration type
- All Known Implementing Classes:
DropwizardAwareModule
,GuiceBootstrapModule
,UniqueDropwizardAwareModule
public interface BootstrapAwareModule<T extends io.dropwizard.core.Configuration>
Guice module, registered in bundle, may implement this to be able to use bootstrap object in module configuration method.NOTE: setter will be called on run phase, so bootstrap object may be used only for reference (too late for changes).
- Since:
- 31.08.2014
- See Also:
DropwizardAwareModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setBootstrap(io.dropwizard.core.setup.Bootstrap<T> bootstrap)
Method will be called just before injector initialization.
-
-
-
Method Detail
-
setBootstrap
void setBootstrap(io.dropwizard.core.setup.Bootstrap<T> bootstrap)
Method will be called just before injector initialization.- Parameters:
bootstrap
- bootstrap object
-
-