public abstract class JerseyPhaseEvent extends InjectorPhaseEvent
InjectorPhaseEvent.ReportRenderer| Constructor and Description |
|---|
JerseyPhaseEvent(GuiceyLifecycle type,
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) |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.jersey.internal.inject.InjectionManager |
getInjectionManager()
Note: all guicey events are happen before jersey application initialization finish and so manager can't be
used for extensions access, but it could be stored somewhere and used later (with help of jersey lifecycle
listener).
|
getConfigurationInfo, getInjector, getReportRenderergetConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsgetBootstrapgetOptions, getTypepublic JerseyPhaseEvent(GuiceyLifecycle type, 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)
public org.glassfish.jersey.internal.inject.InjectionManager getInjectionManager()
Note: HK2 ServiceLocator could be obtained as bean from manager as
getInjectionManager().getInstance(ServiceLocator.class).