public class JerseyExtensionsInstalledEvent extends JerseyPhaseEvent
JerseyInstaller installers install
related extensions and only when at least one extension was installed. Provides list of all used (enabled)
extensions.
At this point hk is not completely started and so hk managed extensions
(JerseyManaged) couldn't be obtained yet
(even though you have access to root service locator). But extensions managed by guice could be obtained
from guice context.
To listen hk lifecycle further use jersey events (like in
LifecycleDiagnostic).
InjectorPhaseEvent.ReportRenderer| Constructor and Description |
|---|
JerseyExtensionsInstalledEvent(Options options,
io.dropwizard.setup.Bootstrap bootstrap,
io.dropwizard.Configuration configuration,
ConfigurationTree configurationTree,
io.dropwizard.setup.Environment environment,
com.google.inject.Injector injector,
org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
java.util.List<java.lang.Class<?>> extensions) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Class<?>> |
getExtensions() |
getInjectionManagergetConfigurationInfo, getInjector, getReportRenderergetConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsgetBootstrapgetOptions, getTypepublic JerseyExtensionsInstalledEvent(Options options, io.dropwizard.setup.Bootstrap bootstrap, io.dropwizard.Configuration configuration, ConfigurationTree configurationTree, io.dropwizard.setup.Environment environment, com.google.inject.Injector injector, org.glassfish.jersey.internal.inject.InjectionManager injectionManager, java.util.List<java.lang.Class<?>> extensions)