Package ru.vyarus.dropwizard.guice.debug
Class WebMappingsDiagnostic
java.lang.Object
ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
ru.vyarus.dropwizard.guice.module.lifecycle.UniqueGuiceyLifecycleListener
ru.vyarus.dropwizard.guice.debug.WebMappingsDiagnostic
- All Implemented Interfaces:
GuiceyLifecycleListener
Application web mappings listener. Prints all configured servlets and filters, including guice
ServletModule declarations.
Must be registered with GuiceBundle.Builder.listen(ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleListener...).
Should be configured what info to show because by default nothing is shown.
If multiple listeners registered, only first registered will be actually used (allow safe multiple registrations).
- Since:
- 22.10.2019
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled after complete dropwizard startup.Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.UniqueGuiceyLifecycleListener
equals, hashCodeMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleAdapter
applicationRun, applicationShutdown, 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
-
WebMappingsDiagnostic
Create diagnostic.- Parameters:
config- config
-
-
Method Details
-
applicationStarted
Description copied from class:GuiceyLifecycleAdapterCalled after complete dropwizard startup. Actually the same as jetty lifecycle started event (LifeCycle.Listener.lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle)), which is called after complete jetty startup.- Overrides:
applicationStartedin classGuiceyLifecycleAdapter- Parameters:
event- event object- See Also:
-