class HttpSessionNotifier implements SessionNotifier {

  @Override
  public void attributeBeingStored(RepositoryBackedSession session, String key, Object value) {
    if (session instanceof HttpSession && value instanceof HttpSessionActivationListener) {
      ((HttpSessionActivationListener)value).sessionWillPassivate(new HttpSessionEvent((HttpSession)session));
    }
  }

    HttpSessionNotifier(ServletContextDescriptor descriptor);

}