Class ApplicationStartingEvent
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.ApplicationStartingEvent
Called after complete application configuration (
Application.run(io.dropwizard.core.Configuration, io.dropwizard.core.setup.Environment) called), but before lifecycle startup
(before managed objects run). Actually the same as jetty lifecycle started event
(LifeCycle.Listener.lifeCycleStarting(org.eclipse.jetty.util.component.LifeCycle).
May be used as for additional services startup (after all initializations), executed before "started" point,
often used for reporting. As an example, sub rest use this event to run jersey context after initialization.
This event also will be fired in guicey tests (TestGuiceyApp
which does not start the web part).
- Since:
- 16.10.2025
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent
InjectorPhaseEvent.ReportRenderer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.JerseyPhaseEvent
getInjectionManager, isJerseyStartedMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent
getConfigurationInfo, getInjector, getReportRendererMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.RunPhaseEvent
getConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
getBootstrapMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
getOptions, getSharedState, getStats, getType
-
Constructor Details
-
ApplicationStartingEvent
Create event.- Parameters:
context- even context
-