Interface TypeInstaller<T>
-
- Type Parameters:
T
- expected extension type (or Object when no super type (e.g. for annotated beans))
- All Known Implementing Classes:
ResourceInstaller
public interface TypeInstaller<T>
Marker interface must be used together withFeatureInstaller
. Used for installers which requires just class to install extension.- Since:
- 10.10.2014
- See Also:
ResourceInstaller
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
install(io.dropwizard.setup.Environment environment, java.lang.Class<T> type)
FullInjector
could be obtained withInjectorLookup.getInjector(Environment)
.
-
-
-
Method Detail
-
install
void install(io.dropwizard.setup.Environment environment, java.lang.Class<T> type)
FullInjector
could be obtained withInjectorLookup.getInjector(Environment)
.Shared state could be obtained with
SharedConfigurationState.get(Environment)
- Parameters:
environment
- environment objecttype
- extension type
-
-