// get the factory
final Driver spi = (Driver) it.next();
// check if we can accept it
Map<String, Serializable> params = new HashMap<String, Serializable>();
params.put("url", url);
if (spi.isAvailable() && spi.canAccess(DriverCapabilities.CONNECT,params))
drivers.add(spi);
}
return Collections.unmodifiableSet(drivers);