Class LogviewerApplication

java.lang.Object
javax.ws.rs.core.Application
org.apache.storm.daemon.logviewer.webapp.LogviewerApplication

@ApplicationPath("") public class LogviewerApplication extends javax.ws.rs.core.Application
  • Constructor Details

    • LogviewerApplication

      public LogviewerApplication()
      Constructor.
  • Method Details

    • getSingletons

      public Set<Object> getSingletons()
      Overrides:
      getSingletons in class javax.ws.rs.core.Application
    • setup

      public static void setup(Map<String,Object> stormConf, StormMetricsRegistry metricRegistry)
      Spot to inject storm configuration before initializing LogviewerApplication instance.
      Parameters:
      stormConf - storm configuration
      metricRegistry - The metrics registry