📄 daofactory.java
字号:
package com.tongtu.Dao;
import com.tongtu.Dao.plan.PlanDAO;
import com.tongtu.Dao.role.RoleDAO;
import com.tongtu.Dao.user.UserDAO;
/**
* Created by IntelliJ IDEA.
* User: Administrator
* Date: 2003-8-22
* Time: 14:00:33
* To change this template use Options | File Templates.
*/
public abstract class DAOFactory {
/**
* 取DAO工厂的具体实例。
*
* @return 根据配置文件中的SYS.MODEL_TYPE取相对应具体实现类
*/
public static DAOFactory getDAOFactory() {
return new DAOFactoryMssqlImpl();
//}//end if...else...
}
public abstract UserDAO getUserDAO();
public abstract RoleDAO getRoleDAO();
public abstract PlanDAO getPlanDAO();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -