}
TorqueException exception = null;
for (Iterator it = dsFactoryMap.keySet().iterator(); it.hasNext();)
{
Object dsfKey = it.next();
DataSourceFactory dsf
= (DataSourceFactory) dsFactoryMap.get(dsfKey);
try
{
dsf.close();
it.remove();
}
catch (TorqueException e)
{
log.error("Error while closing the DataSourceFactory "