Class GuiceyStartupListenerAdapter<C extends io.dropwizard.core.Configuration>
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
-
- ru.vyarus.dropwizard.guice.module.installer.bundle.listener.GuiceyStartupListenerAdapter<C>
-
- Type Parameters:
C- configuration type
- All Implemented Interfaces:
GuiceyLifecycleListener
public class GuiceyStartupListenerAdapter<C extends io.dropwizard.core.Configuration> extends GuiceyLifecycleAdapter
GuiceyStartupListeneradapter for guicey lifecycle.- Since:
- 28.09.2019
-
-
Constructor Summary
Constructors Constructor Description GuiceyStartupListenerAdapter(GuiceyStartupListener<C> listener)Create adapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplicationRun(ApplicationRunEvent event)Called afterGuiceBundle.run(io.dropwizard.core.Configuration, io.dropwizard.core.setup.Environment)when guicey context is started, extensions installed (but not hk extensions, because neither jersey nor jetty isn't start yet).java.lang.StringtoString()-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
applicationShutdown, applicationStarted, applicationStopped, beforeInit, 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<C> listener)
Create adapter.- Parameters:
listener- listener
-
-
Method Detail
-
applicationRun
protected void applicationRun(ApplicationRunEvent event)
Description copied from class:GuiceyLifecycleAdapterCalled afterGuiceBundle.run(io.dropwizard.core.Configuration, io.dropwizard.core.setup.Environment)when guicey context is started, extensions installed (but not hk extensions, because neither jersey nor jetty isn't start yet).- Overrides:
applicationRunin classGuiceyLifecycleAdapter- Parameters:
event- event object- See Also:
GuiceyLifecycle.ApplicationRun
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-