Class MapfishPrintInstrumentedFilterContextListener

java.lang.Object
io.dropwizard.metrics.servlet.InstrumentedFilterContextListener
org.mapfish.print.metrics.MapfishPrintInstrumentedFilterContextListener
All Implemented Interfaces:
jakarta.servlet.ServletContextListener, EventListener

public class MapfishPrintInstrumentedFilterContextListener extends io.dropwizard.metrics.servlet.InstrumentedFilterContextListener
Allows the AdminServlet to get access to the MetricRegistry so it can display the statistics via the admin servlet.
  • Constructor Details

    • MapfishPrintInstrumentedFilterContextListener

      public MapfishPrintInstrumentedFilterContextListener()
  • Method Details

    • getMetricRegistry

      protected final com.codahale.metrics.MetricRegistry getMetricRegistry()
      Specified by:
      getMetricRegistry in class io.dropwizard.metrics.servlet.InstrumentedFilterContextListener
    • contextInitialized

      public final void contextInitialized(jakarta.servlet.ServletContextEvent event)
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
      Overrides:
      contextInitialized in class io.dropwizard.metrics.servlet.InstrumentedFilterContextListener