class HttpSessionNotifier implements SessionNotifier {

  @Override
  public void attributeAdded(RepositoryBackedSession session, String key, Object value) {
    // If the
    if (session instanceof HttpSession && value instanceof HttpSessionBindingListener) {
      ((HttpSessionBindingListener)value).valueBound(new HttpSessionBindingEvent((HttpSession)session, key));
    }
    HttpSessionBindingEvent event = new HttpSessionBindingEvent((HttpSession)session, key, value);
    for (HttpSessionAttributeListener listener : descriptor.getHttpSessionAttributeListeners()) {
      listener.attributeAdded(event);
    }
  }

    HttpSessionNotifier(ServletContextDescriptor descriptor);

}