T - expected extension type (or Object when no super type (e.g. for annotated beans))public interface TypeInstaller<T>
FeatureInstaller.
Used for installers which requires just class to install extension.ResourceInstaller| Modifier and Type | Method and Description |
|---|---|
void |
install(io.dropwizard.setup.Environment environment,
java.lang.Class<T> type)
Full
Injector could be obtained with
InjectorLookup.getInjector(Environment). |
void install(io.dropwizard.setup.Environment environment,
java.lang.Class<T> type)
Injector could be obtained with
InjectorLookup.getInjector(Environment).
Shared state could be obtained with
SharedConfigurationState.get(Environment)
environment - environment objecttype - extension type