class JdbcDriverServiceImpl implements JdbcDriverService, ApplicationContextAware {

    @Override
    public Set<String> getRegisteredDriverClassNames() {
        Set<String> driverNames = new HashSet<String>(driverClassToUrlMap.size());

        for (String className : driverClassToUrlMap.keySet()) {
            if (isRegistered(className)) {
                driverNames.add(className);
            }
        }

        return driverNames;
    }

}