Iterator keysIT = openedConnsHM.keySet().iterator();
while(keysIT.hasNext()){
String connId = (String)keysIT.next();
Connection conn = (Connection)openedConnsHM.get(connId);
if(useConnectionPool(connId)){
ConnectionPool connPool = ConnectionPool.getConnectionPool(connId);
/* 将活动连接返回到连接池 */
connPool.returnConnection(conn);
}else{
/* 释放连接 */
conn.close();
}
}