public DbAdapter makeAdapter(ClassLoadingService classLoader) throws Exception {
String adapterClassName = getDbAdapter();
if (adapterClassName == null
|| AutoAdapter.class.getName().equals(adapterClassName)) {
return new AutoAdapter(makeDataSource(classLoader));
}
try {
return classLoader.loadClass(DbAdapter.class, adapterClassName).newInstance();
}