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
GuiceyStartupListener adapter for guicey lifecycle.- Since:
- 28.09.2019
-
Constructor Summary
ConstructorsConstructorDescriptionGuiceyStartupListenerAdapter(GuiceyStartupListener<C> listener) Create adapter. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled 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).toString()Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
applicationShutdown, applicationStarted, applicationStarting, applicationStopped, beforeInit, beforeRun, bundlesInitialized, bundlesResolved, bundlesStarted, classpathExtensionsResolved, commandsResolved, configurationHooksProcessed, dropwizardBundlesInitialized, extensionsInstalled, extensionsInstalledBy, extensionsResolved, initialized, injectorCreation, installersResolved, jerseyConfiguration, jerseyExtensionsInstalled, jerseyExtensionsInstalledBy, lookupBundlesResolved, manualExtensionsValidated, modulesAnalyzed, onEvent
-
Constructor Details
-
GuiceyStartupListenerAdapter
Create adapter.- Parameters:
listener- listener
-
-
Method Details
-
applicationRun
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:
-
toString
-