class HttpSessionNotifier implements SessionNotifier {

  @Override
  public void sessionCreated(RepositoryBackedSession session) {
    if (session instanceof HttpSession) {
      HttpSessionEvent event = new HttpSessionEvent((HttpSession)session);
      for (HttpSessionListener listener : descriptor.getHttpSessionListeners()) {
        listener.sessionCreated(event);
      }
    }
  }

    HttpSessionNotifier(ServletContextDescriptor descriptor);

}