public abstract class HK2PhaseEvent extends InjectorPhaseEvent
InjectorPhaseEvent.ReportRenderer
Constructor and Description |
---|
HK2PhaseEvent(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.hk2.api.ServiceLocator locator) |
Modifier and Type | Method and Description |
---|---|
org.glassfish.hk2.api.ServiceLocator |
getLocator()
Note: all guicey events are happen before jersey application initialization finish and so locator can't be
used for extensions access, but it could be stored somewhere and used later (with help of jersey lifecycle
listener).
|
getConfigurationInfo, getInjector, getReportRenderer
getBootstrap, getConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindings
getOptions, getType
public HK2PhaseEvent(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.hk2.api.ServiceLocator locator)
public org.glassfish.hk2.api.ServiceLocator getLocator()