constructor = c.getConstructor((Class[]) null);
dao = (DAO) constructor.newInstance((Object[]) null);
return dao;
} catch (Exception e1) {
Logger.error("Couldn't instantiate '" + fullDAOName + "'", e1);
throw new NoAvailableDAOException("Couldn't instantiate a "
+ fullDAOName);
}
}