public class ExtensionsInstalledByEvent extends InjectorPhaseEvent
NOTE: JerseyInstaller installers will no be
notified here, even if they participate in installation as installation is considered incomplete at that point.
Extension instance could be obtained manually from injector.
Installer passed by type to simplify differentiation. If, for some reason, you need to access installer
instance then save installers in
InstallersResolvedEvent and find by
type (only one installer of exact type could be registered).
InjectorPhaseEvent.ReportRenderer| Constructor and Description |
|---|
ExtensionsInstalledByEvent(Options options,
io.dropwizard.setup.Bootstrap bootstrap,
io.dropwizard.Configuration configuration,
ConfigurationTree configurationTree,
io.dropwizard.setup.Environment environment,
com.google.inject.Injector injector,
java.lang.Class<? extends FeatureInstaller> installer,
java.util.List<java.lang.Class<?>> installed) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Class<?>> |
getInstalled() |
java.lang.Class<? extends FeatureInstaller> |
getInstaller() |
getConfigurationInfo, getInjector, getReportRenderergetConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsgetBootstrapgetOptions, getTypepublic ExtensionsInstalledByEvent(Options options, io.dropwizard.setup.Bootstrap bootstrap, io.dropwizard.Configuration configuration, ConfigurationTree configurationTree, io.dropwizard.setup.Environment environment, com.google.inject.Injector injector, java.lang.Class<? extends FeatureInstaller> installer, java.util.List<java.lang.Class<?>> installed)
public java.lang.Class<? extends FeatureInstaller> getInstaller()
public java.util.List<java.lang.Class<?>> getInstalled()