Class InjectorPhaseEvent

Direct Known Subclasses:
ApplicationRunEvent, ExtensionsInstalledByEvent, ExtensionsInstalledEvent, JerseyPhaseEvent

public abstract class InjectorPhaseEvent extends RunPhaseEvent
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
  • Constructor Details

    • InjectorPhaseEvent

      public InjectorPhaseEvent(GuiceyLifecycle type, EventsContext context)
      Create event.
      Parameters:
      type - event type
      context - event context
  • Method Details

    • getInjector

      public com.google.inject.Injector getInjector()
      Returns:
      guice injector instance
    • getConfigurationInfo

      public GuiceyConfigurationInfo getConfigurationInfo()
      Returns:
      guicey configuration information
    • getReportRenderer

      public InjectorPhaseEvent.ReportRenderer getReportRenderer()
      Renderers provide various views for guicey configuration, which may be used for specific logging.
      Returns:
      access to diagnostic reports renderers
      See Also: