Class HpServletContextListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.ServletContextListener

    public class HpServletContextListener
    extends java.lang.Object
    implements javax.servlet.ServletContextListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static long CLEANER_INTERVAL  
      static java.lang.String DGSOCKET
      Context ID for datagram socket.
      static java.lang.String REGISTERED_HOSTS
      Context ID for registered hosts.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contextDestroyed​(javax.servlet.ServletContextEvent sce)
      Cleans the servlet context.
      void contextInitialized​(javax.servlet.ServletContextEvent sce)
      Initializes the servlet context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • REGISTERED_HOSTS

        public static final java.lang.String REGISTERED_HOSTS
        Context ID for registered hosts.
        See Also:
        Constant Field Values
      • DGSOCKET

        public static final java.lang.String DGSOCKET
        Context ID for datagram socket.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HpServletContextListener

        public HpServletContextListener()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent sce)
        Initializes the servlet context.
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent sce)
        Cleans the servlet context.
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener