Class AgentShutdownServletContextListener

  • All Implemented Interfaces:
    jakarta.servlet.ServletContextListener, EventListener

    public class AgentShutdownServletContextListener
    extends Object
    implements jakarta.servlet.ServletContextListener
    The AgentShutdownServletContextListener class is used to stop the monitoring Agent RMI server everything is undeployed, or the web container is terminated.
    • Constructor Detail

      • AgentShutdownServletContextListener

        public AgentShutdownServletContextListener()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(jakarta.servlet.ServletContextEvent sce)
        Specified by:
        contextInitialized in interface jakarta.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(jakarta.servlet.ServletContextEvent sce)
        Specified by:
        contextDestroyed in interface jakarta.servlet.ServletContextListener