Class GspInfoService

java.lang.Object
ru.vyarus.guicey.gsp.info.GspInfoService

@Singleton public class GspInfoService extends Object
Guicey service providing information about registered server pages applications. Useful for reporting or diagnostic.
Since:
03.12.2019
  • Constructor Details

    • GspInfoService

      public GspInfoService(GlobalConfig config)
  • Method Details

    • getViewRendererNames

      public List<String> getViewRendererNames()
      Returns:
      names of registered dropwizard-views renderers
    • getViewRenderers

      public List<io.dropwizard.views.common.ViewRenderer> getViewRenderers()
      Returns:
      list or registered dropwizard-views registered renderers
    • getViewsConfig

      public Map<String,Map<String,String>> getViewsConfig()
      Returns:
      views configuration (including all customizations)
    • getApplications

      public List<GspApp> getApplications()
      Returns:
      registered gsp applications info
    • getApplication

      public GspApp getApplication(String name)
      Parameters:
      name - application name
      Returns:
      application info or null if no application with provided name registered