Class ConfigurationHooksProcessedEvent
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.configuration.ConfigurationHooksProcessedEvent
-
public class ConfigurationHooksProcessedEvent extends GuiceyLifecycleEvent
Appeared just in time ofGuiceBundle.Builder.build()
after manual builder configuration and allGuiceyConfigurationHook
processing. Not called when no hooks were used.Provides list of all used hooks.
Note: dropwizard
Bootstrap
object is already existing at that moment, but bundle don't have access for it yet and so it's not available in event.- Since:
- 20.04.2018
-
-
Constructor Summary
Constructors Constructor Description ConfigurationHooksProcessedEvent(EventsContext context, java.util.Set<GuiceyConfigurationHook> hooks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<GuiceyConfigurationHook>
getHooks()
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
getOptions, getSharedState, getType
-
-
-
-
Constructor Detail
-
ConfigurationHooksProcessedEvent
public ConfigurationHooksProcessedEvent(EventsContext context, java.util.Set<GuiceyConfigurationHook> hooks)
-
-
Method Detail
-
getHooks
public java.util.Set<GuiceyConfigurationHook> getHooks()
- Returns:
- set of all used hooks
-
-