@Override public Context createContext(org.apache.catalina.Context context, Host host) { return new TomcatContext(context, host); } }
@Override public void addSessionListener(HttpSessionListener listener) { synchronized (this.context) { this.context.setApplicationLifecycleListeners(this.addListener(listener, this.context.getApplicationLifecycleListeners())); } }
@Override public void removeSessionListener(HttpSessionListener listener) { synchronized (this.context) { this.context.setApplicationLifecycleListeners(this.removeListener(listener, this.context.getApplicationLifecycleListeners())); } }
protected Context createContext(org.apache.catalina.Context context, Host host) { return new TomcatContext(this.context, this.host, this.valveFactory); }