outdaofactory.java

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

JAVA
38
字号
/**
 * EnterpriseDAOFactory.java       07/01/2002,
 * Author:
 *
 * Copyright (c) 2002 Censoft Corp.
 * Beijing China
 * All rights reserved.
 *
 * Modifier:
 * Time:
 ***/

package com.gs.component.out.dao;

import com.gs.util.*;

import com.gs.component.out.*;

public class OutDAOFactory {

    /**
     * This method instantiates a EnterpriseDAOImpl return EnterpriseDAO
     * EnterpriseDAOImpl implements EnterpriseDAO
     */
    public static OutDAO getDAO() throws AppException {
        OutDAO outDAO = null;
        try {
            outDAO = new OutDAOImpl();
        }
        catch (Exception e) {
            throw new AppException("OutDAOFactory.getDAO:  FetcAppException while instantiates OutDAOImpl : \n" +
                                   e.getMessage());
        }
        return outDAO;
    }

}

⌨️ 快捷键说明

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