Class ServletContextWrapper.ServletContextMapListener

  • All Implemented Interfaces:
    MapListener, EventListener
    Enclosing class:
    ServletContextWrapper

    public class ServletContextWrapper.ServletContextMapListener
    extends Base
    implements MapListener
    Inner class: A listener to listen to the clustered servlet context attributes and make those same changes to the local ServletContext.
    • Constructor Detail

      • ServletContextMapListener

        public ServletContextMapListener()
    • Method Detail

      • entryInserted

        public void entryInserted​(MapEvent evt)
        Invoked when a map entry has been inserted.
        Specified by:
        entryInserted in interface MapListener
        Parameters:
        evt - the MapEvent carrying the insert information
      • entryUpdated

        public void entryUpdated​(MapEvent evt)
        Invoked when a map entry has been updated.
        Specified by:
        entryUpdated in interface MapListener
        Parameters:
        evt - the MapEvent carrying the update information
      • entryDeleted

        public void entryDeleted​(MapEvent evt)
        Invoked when a map entry has been removed.
        Specified by:
        entryDeleted in interface MapListener
        Parameters:
        evt - the MapEvent carrying the delete information
      • getServletContext

        protected javax.servlet.ServletContext getServletContext()
        Get the container's ServletContext.
        Returns:
        the container's ServletContext