Package org.apache.storm.daemon.logviewer.webapp

# Class LogviewerApplication

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

@ApplicationPath("") public class LogviewerApplication extends jakarta.ws.rs.core.Application

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogviewerApplication()`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<Object>`
  `getSingletons()`
  `static void`
  `setup(Map<String,Object> stormConf, StormMetricsRegistry metricRegistry)`
  Spot to inject storm configuration before initializing LogviewerApplication instance.

  ### Methods inherited from class jakarta.ws.rs.core.Application

  `getClasses, getProperties`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LogviewerApplication

    public LogviewerApplication()
    Constructor.

- ## Method Details

  - ### getSingletons

    public Set<Object> getSingletons()
    Overrides:
      `getSingletons` in class `jakarta.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