daoImpl.setDaoContext(daoContext);
daoImpl.setDaoInterface(Resources.classForName(iface));
daoImpl.setDaoImplementation(Resources.classForName(impl));
Class daoClass = daoImpl.getDaoImplementation();
Dao dao = null;
try {
Constructor constructor = daoClass.getConstructor(new Class[]{DaoManager.class});
dao = (Dao) constructor.newInstance(new Object[]{daoManager});
} catch (Exception e) {