package CoreFS.SA01;

public class CoreGlobalConstants {
	/**
	 * xml配置文件的常量
	 */
	public static String  loccfgpath = "../WebContents/WEB-INF/cfgfiles";	
	public static String  springconfigpath = Thread.currentThread().getContextClassLoader().getResource("/").getPath() ;//2011.04.26 ../classes
	public static String  cfgpath = Thread.currentThread().getContextClassLoader().getResource("../cfgfiles").getPath() ;
	public static String  logpath = Thread.currentThread().getContextClassLoader().getResource("../logs").getPath() ;
	
	public static final String SPRINGCONFIG_LOACLXMLCONFIGPATH = springconfigpath + "springjndiConfig.xml";//本地配置文件的相对路径
	public static final String workspace = "F:\\workspace6.5\\CoreFS";
	public static final String USERBEAN_LOACLXMLCONFIGPATH = loccfgpath + "/CoreUserBean.xml";//本地配置文件的相对路径
	public static final String USERBEAN_REMOTEXMLCONFIGPATH = cfgpath + "/CoreUserBean.xml";;//远程配置文件的相对路径
	public static final String USER_REMOTEXMLCONFIGPATH = cfgpath + "/CD01_USER.xml";;//远程配置文件的相对路径
	public static final String ROLE_REMOTEXMLCONFIGPATH = cfgpath + "/CD01_ROLE.xml";;//远程配置文件的相对路径
	public static final String DEPT_REMOTEXMLCONFIGPATH = cfgpath + "/CD01_ORG.xml";;//远程配置文件的相对路径
	
	public static final String DEPARTMENTBEAN_LOACLXMLCONFIGPATH = loccfgpath + "/CoreDepartmentBean.xml";//本地配置文件的相对路径
	public static final String DEPARTMENTBEAN_REMOTEXMLCONFIGPATH = cfgpath + "/CoreDepartmentBean.xml";//远程配置文件的相对路径

	
	public static final String ROLEBEAN_LOACLXMLCONFIGPATH = loccfgpath + "/CoreRoleBean.xml";//本地配置文件的相对路径
	public static final String ROLEBEAN_REMOTEXMLCONFIGPATH = cfgpath + "/CoreRoleBean.xml";//远程配置文件的相对路径
	
	public static final String DESIGNBEAN_LOACLXMLCONFIGPATH = loccfgpath + "/CoreDesignBean.xml";//本地配置文件的相对路径
	public static final String DESIGNBEAN_REMOTEXMLCONFIGPATH =cfgpath +  "/CoreDesignBean.xml";//远程配置文件的相对路径
	
	public static final String DESIGNMAIN_REMOTEXMLCONFIGPATH =cfgpath +  "/DesignMain.xml";//远程配置文件的相对路径
	
	public static final String srcpath = Thread.currentThread().getContextClassLoader().getResource("/").getPath(); 
	
	public static final String XMLROOTNODENAME = "rowData";    //xml根结点名称
	public static final String XMLPARENTNODENAME = "row";      //xmlContent的父结点名称
	
    public static final String SQL_MANAGERPATH=cfgpath + "/SqlManager.xml";//远程配置文件的相对路径
	
}