Class HttpFrameworkServletContextListener

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

    public abstract class HttpFrameworkServletContextListener
    extends Object
    implements javax.servlet.ServletContextListener
    A ServletContextListener that sets String keyed HttpApplication instances as attributes on the ServletContext.
    • Constructor Detail

      • HttpFrameworkServletContextListener

        public HttpFrameworkServletContextListener()
    • Method Detail

      • contextInitialized

        public final void contextInitialized​(javax.servlet.ServletContextEvent event)
        Registers the HttpApplication instances in the ServletContext attributes.
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
        Parameters:
        event -
      • contextDestroyed

        public final void contextDestroyed​(javax.servlet.ServletContextEvent event)
        No action performed.
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener
        Parameters:
        event -
      • getHttpApplications

        protected abstract Map<String,​HttpApplication> getHttpApplications()
        Gets a Map of HttpApplication instances keyed by a String application key.
        Returns:
        A Map containing application key to HttpApplication instances.