Class ApplicationStoppedEvent
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.RunPhaseEvent
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.JerseyPhaseEvent
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.jersey.ApplicationStoppedEvent
-
public class ApplicationStoppedEvent extends JerseyPhaseEvent
Called after application shutdown. Triggered by jetty lifecycle stopping event (LifeCycle.Listener.lifeCycleStopped( org.eclipse.jetty.util.component.LifeCycle)).Supposed to be used to cleanup some resources after complete shutdown (very specific cases).
- Since:
- 05.10.2020
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent
InjectorPhaseEvent.ReportRenderer
-
-
Constructor Summary
Constructors Constructor Description ApplicationStoppedEvent(EventsContext context)Create event.
-
Method Summary
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.JerseyPhaseEvent
getInjectionManager, isJerseyStarted
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent
getConfigurationInfo, getInjector, getReportRenderer
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.RunPhaseEvent
getConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindings
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
getBootstrap
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
getOptions, getSharedState, getStats, getType
-
-
-
-
Constructor Detail
-
ApplicationStoppedEvent
public ApplicationStoppedEvent(EventsContext context)
Create event.- Parameters:
context- event context
-
-