Class JolokiaServletRegistration

java.lang.Object
org.jolokia.support.spring.actuator.JolokiaServletRegistration
All Implemented Interfaces:
org.springframework.boot.web.servlet.ServletContextInitializer

public class JolokiaServletRegistration extends Object implements org.springframework.boot.web.servlet.ServletContextInitializer
ServletContextInitializer (which runs in ServletContainerInitializer) that registers AgentServlet in management web context.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JolokiaServletRegistration(Map<String,String> initParameters, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties, org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath dispatcherServletPath, org.springframework.context.ApplicationContext applicationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onStartup(jakarta.servlet.ServletContext servletContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JolokiaServletRegistration

      public JolokiaServletRegistration(Map<String,String> initParameters, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties, org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath dispatcherServletPath, org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • onStartup

      public void onStartup(jakarta.servlet.ServletContext servletContext)
      Specified by:
      onStartup in interface org.springframework.boot.web.servlet.ServletContextInitializer