Class InjectorPhaseEvent.ReportRenderer
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.lifecycle.event.InjectorPhaseEvent.ReportRenderer
-
- Enclosing class:
- InjectorPhaseEvent
public class InjectorPhaseEvent.ReportRenderer extends java.lang.ObjectGuicey configuration reporting rendederers. Does not include configuration bindings report because it's available long before these reports (before guicey configuration process).
-
-
Constructor Summary
Constructors Constructor Description ReportRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringrenderConfigurationSummary(DiagnosticConfig config)Summary report render extensions by type.java.lang.StringrenderConfigurationTree(ContextTreeConfig config)Tree report render extensions by configuration source.java.lang.StringrenderGuiceAop(GuiceAopConfig config)Render guice aop map report.java.lang.StringrenderGuiceBindings(GuiceConfig config)Render guice bindings report.java.lang.StringrenderOptions(OptionsConfig config)Options report.java.lang.StringrenderStats(boolean hideTiny)Guicey timings report.java.lang.StringrenderWebMappings(MappingsConfig config)Render servlet and filter mappings report (including guice servlets and filters).
-
-
-
Method Detail
-
renderConfigurationSummary
public java.lang.String renderConfigurationSummary(DiagnosticConfig config)
Summary report render extensions by type. Useful for configuration overview.- Parameters:
config- config object- Returns:
- rendered report as string
-
renderConfigurationTree
public java.lang.String renderConfigurationTree(ContextTreeConfig config)
Tree report render extensions by configuration source. Useful for configuration sources understanding.- Parameters:
config- config object- Returns:
- rendered report as string
-
renderOptions
public java.lang.String renderOptions(OptionsConfig config)
Options report.- Parameters:
config- config object- Returns:
- rendered report as string
-
renderStats
public java.lang.String renderStats(boolean hideTiny)
Guicey timings report.- Parameters:
hideTiny- true to hide timers less then 1ms- Returns:
- rendered report as string
-
renderGuiceBindings
public java.lang.String renderGuiceBindings(GuiceConfig config)
Render guice bindings report.- Parameters:
config- config object- Returns:
- rendered report as string
-
renderGuiceAop
public java.lang.String renderGuiceAop(GuiceAopConfig config)
Render guice aop map report.- Parameters:
config- config object- Returns:
- rendered report as string
-
renderWebMappings
public java.lang.String renderWebMappings(MappingsConfig config)
Render servlet and filter mappings report (including guice servlets and filters).- Parameters:
config- config object- Returns:
- rendered report as string
-
-