PROPERTY_MAX_ACTIVE_SESSIONS);
final int maxIdleSessions = this.getIntProperty(properties,
PROPERTY_MAX_IDLE_SESSIONS);
final int maxActiveSessionsWait = this.getIntProperty(properties,
PROPERTY_MAX_ACTIVE_SESSIONS_WAIT);
return new SessionPoolFactory() {
public SessionPool createPool(final SessionPoolManager mgr,
final SimpleCredentials credentials) {
// create and configure the new pool
final SessionPool pool = createSessionPool(mgr, credentials);