for (ConnectionPool connectionPool : connectionPools) {
String jndiName = connectionPool.getJndiName();
ConnectionPoolBindings bindings = ConnectionPoolBindings.from(connectionPool);
ConnectionPoolBindings poolBindings = this.pools.get(jndiName);
if (poolBindings != null) {
poolBindings.update(connectionPool);
} else {
this.pools.put(jndiName, bindings);
}
}
}