Interface ListenerHolder.WrapFunction

  • Enclosing class:

    public static interface ListenerHolder.WrapFunction
    Experimental Wrapper mechanism for Servlet EventListeners.

    Beans in ServletContextHandler or WebAppContext that implement this interface will be called to optionally wrap any newly created Servlet EventListeners before they are used for the first time.

    • Method Detail

      • wrapEventListener

        java.util.EventListener wrapEventListener​(java.util.EventListener listener)
        Optionally wrap the Servlet EventListener.
        listener - the Servlet EventListener being passed in.
        the Servlet EventListener (extend from ListenerHolder.Wrapper if you do wrap the Servlet EventListener)