⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jfdaofactory.java

📁 Struts+jdbc开发的合同管理系统,用的SQL Server 2000做为后台数据库!
💻 JAVA
字号:
/*
 * Author :Cao guangxin
 * on 26-三月-2005 at 09:54:55
 * 
 * Mail:relationinfo@hotmail.com
 * 
 * visit:www.relaioninfo.com or www.helpsoft.org
 */

package org.helpsoft.contract.factory;

import java.sql.Connection;
import org.helpsoft.contract.dao.*;
import org.helpsoft.contract.jdbc.*;

public class JfDaoFactory
{
	private static final JfDaoImpl dao = new JfDaoImpl();

	/**
	 * Method 'create'
	 * 
	 * @return JfDao
	 */
	public static JfDao create()
	{
		return dao;
	}

	/**
	 * Method 'create'
	 * 
	 * @param conn
	 * @return JfDao
	 */
	public static JfDao create(Connection conn)
	{
		return new JfDaoImpl( conn );
	}

}

⌨️ 快捷键说明

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