Class InjectorPhaseEvent
java.lang.Object
ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
ru.vyarus.dropwizard.guice.module.lifecycle.event.RunPhaseEvent
ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent
- Direct Known Subclasses:
ApplicationRunEvent,ExtensionsInstalledByEvent,ExtensionsInstalledEvent,JerseyPhaseEvent
Base class from events, started after guice injector creation. Since that moment, finalized guicey configuration
could be queued and diagnostic reporters could be used.
- Since:
- 19.04.2018
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGuicey configuration reporting rendederers. -
Constructor Summary
ConstructorsConstructorDescriptionInjectorPhaseEvent(GuiceyLifecycle type, EventsContext context) Create event. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.InjectorRenderers provide various views for guicey configuration, which may be used for specific logging.Methods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.RunPhaseEvent
getConfiguration, getConfigurationTree, getEnvironment, renderConfigurationBindingsMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.ConfigurationPhaseEvent
getBootstrapMethods inherited from class ru.vyarus.dropwizard.guice.module.lifecycle.event.GuiceyLifecycleEvent
getOptions, getSharedState, getStats, getType
-
Constructor Details
-
InjectorPhaseEvent
Create event.- Parameters:
type- event typecontext- event context
-
-
Method Details
-
getInjector
public com.google.inject.Injector getInjector()- Returns:
- guice injector instance
-
getConfigurationInfo
- Returns:
- guicey configuration information
-
getReportRenderer
Renderers provide various views for guicey configuration, which may be used for specific logging.- Returns:
- access to diagnostic reports renderers
- See Also:
-