// valueBound must be before binding
if (value instanceof HttpSessionBindingListener) {
HttpSessionBindingListener hsbl = (HttpSessionBindingListener) value;
ClassLoader cl = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(this.webAppConfig.getLoader());
hsbl.valueBound(new HttpSessionBindingEvent(this, name, value));
Thread.currentThread().setContextClassLoader(cl);
}
Object oldValue = null;
synchronized (this.sessionMonitor) {