public class ApplicationShotdownEvent extends JerseyPhaseEvent
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopping(
org.eclipse.jetty.util.component.LifeCycle)).
May be used to perform some shutdown logic.
InjectorPhaseEvent.ReportRenderer| Constructor and Description |
|---|
ApplicationShotdownEvent(EventsContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isJettyStarted()
As event fired for both real server startup and guicey lightweight tests, this property allows
to differentiate situations.
|
getInjectionManagergetConfigurationInfo, getInjector, getReportRenderergetConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsgetBootstrapgetOptions, getSharedState, getTypepublic ApplicationShotdownEvent(EventsContext context)
public boolean isJettyStarted()
UseGuiceyApp,
GuiceyAppRule