querydaofactory.java

来自「一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs」· Java 代码 · 共 27 行

JAVA
27
字号
package com.gs.pageBuilder.dao;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

import com.gs.util.*;

public class QueryDAOFactory
{
    public static QueryDAO getDAO() throws AppException {
        QueryDAO queryDAO = null;
        try{
            queryDAO = new QueryDAOImpl();
        } catch (Exception e) {
            throw new AppException("ReportDAOFactory.getDAO:  AppException while instantiates ReportDAOImpl : \n" + e.getMessage());
        }
        return queryDAO;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?