Class GuiceyStartupListenerAdapter
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
-
- ru.vyarus.dropwizard.guice.module.installer.bundle.listener.GuiceyStartupListenerAdapter
-
- All Implemented Interfaces:
GuiceyLifecycleListener
public class GuiceyStartupListenerAdapter extends GuiceyLifecycleAdapter
GuiceyStartupListener
adapter for guicey lifecycle.- Since:
- 28.09.2019
-
-
Constructor Summary
Constructors Constructor Description GuiceyStartupListenerAdapter(GuiceyStartupListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applicationRun(ApplicationRunEvent event)
Called afterGuiceBundle.run(io.dropwizard.Configuration, io.dropwizard.setup.Environment)
when guicey context is started, extensions installed (but not hk extensions, because neither jersey nor jetty isn't start yet).java.lang.String
toString()
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
applicationShutdown, applicationStarted, applicationStopped, beforeRun, bundlesInitialized, bundlesResolved, bundlesStarted, classpathExtensionsResolved, commandsResolved, configurationHooksProcessed, dropwizardBundlesInitialized, extensionsInstalled, extensionsInstalledBy, extensionsResolved, initialized, injectorCreation, installersResolved, jerseyConfiguration, jerseyExtensionsInstalled, jerseyExtensionsInstalledBy, lookupBundlesResolved, manualExtensionsValidated, modulesAnalyzed, onEvent
-
-
-
-
Constructor Detail
-
GuiceyStartupListenerAdapter
public GuiceyStartupListenerAdapter(GuiceyStartupListener listener)
-
-
Method Detail
-
applicationRun
protected void applicationRun(ApplicationRunEvent event)
Description copied from class:GuiceyLifecycleAdapter
Called afterGuiceBundle.run(io.dropwizard.Configuration, io.dropwizard.setup.Environment)
when guicey context is started, extensions installed (but not hk extensions, because neither jersey nor jetty isn't start yet).- Overrides:
applicationRun
in classGuiceyLifecycleAdapter
- Parameters:
event
- event object- See Also:
GuiceyLifecycle.ApplicationRun
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-