public class JerseyExtensionsInstalledByEvent extends JerseyPhaseEvent
JerseyInstaller installer installed all
related extensions and only for installers actually performed installations (extensions list never empty).
Provides installer and installed extensions types.
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.
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 |
|---|
JerseyExtensionsInstalledByEvent(EventsContext context,
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() |
getInjectionManagergetConfigurationInfo, getInjector, getReportRenderergetConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsgetBootstrapgetOptions, getSharedState, getTypepublic JerseyExtensionsInstalledByEvent(EventsContext context, 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()