getContext().publishEvent(e);
getContext(event.getSession().getServletContext()).publishEvent(e);
    public void sessionDestroyed(HttpSessionEvent event) {        HttpSessionDestroyedEvent e = new HttpSessionDestroyedEvent(event.getSession());        if (log.isDebugEnabled()) {            log.debug("Publishing event: " + e);        }        getContext().publishEvent(e);    }