Package javax.servlet

Class ServletContextEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ServletContext getServletContext​()
      Return the ServletContext that changed.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServletContextEvent

        public ServletContextEvent​(ServletContext source)
        Construct a ServletContextEvent from the given context.
        Parameters:
        source - - the ServletContext that is sending the event.
    • Method Detail

      • getServletContext

        public ServletContext getServletContext​()
        Return the ServletContext that changed.
        Returns:
        the ServletContext that sent the event.