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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetBootstrap(io.dropwizard.core.setup.Bootstrap<T> bootstrap) Method will be called just before injector initialization.
-
Method Details
-
setBootstrap
Method will be called just before injector initialization.- Parameters:
bootstrap- bootstrap object
-