Java 类org.jooq.impl.DAOImpl 实例源码

项目:carbon    文件:DaoConfiguration.java   
private <T extends DAOImpl> T construct(Class<T> daoType) {
    T dao = null;
    try {
        dao = daoType.newInstance();
        dao.setConfiguration(jooq.configuration());
    } catch (InstantiationException | IllegalAccessException ignore) {
    }
    return dao;
}