?????????????????????????close??????????????????????????????????????JAVA??????????????_Connection.invoke????????÷??????????ж?????close??????????????????????????????б????????????conn????????????????????????????????á????????????????????????????????????????????????????????????Щ????????????????а????????????????????????????ConnectionFactory.unbind???????÷??????????????????????????????????????е???????????????????????DataSourceImpl???ж????????close??????????????е????????????????£?

/**
* ??????????е??????????????
* @return int ????????????????
* @throws SQLException
*/
public int close() throws SQLException
{
int cc = 0;
SQLException excp = null;
Iterator iter = conns.iterator();
while(iter.hasNext()){
try{
((_Connection)iter.next()).close();
cc ++;
}catch(Exception e){
if(e instanceof SQLException)
excp = (SQLException)e;
}
}
if(excp != null)
throw excp;
return cc;
}

?????÷????????????????????????close?????????close???????????_Connection?ж?close????????_Connection?????й?????????????????????????о??????????????????????close?????????????????????????

?????????????????????????????????????????????????黹???????????????????????????