public abstract class Config extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
APPKEY |
static String |
CACHE |
static int |
CNDROOT_TYPE |
static String |
CONDITION |
static String |
DATABUS |
static String |
DATASOURCE |
static String |
DBCONFIG |
static int |
DSROOT_TYPE |
static String |
PRIKEY |
static String |
PUBURI |
static int |
QUERYROOT_TYPE |
protected static org.dom4j.Element |
root |
static String |
ROOT_PATH |
static int |
ROOT_TYPE |
static String |
SPLIT |
static int |
SPLITDATASTRUCTROOT_TYPE |
static String |
SQLMAP |
static String |
SQLS |
| 构造器和说明 |
|---|
Config() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.dom4j.Element |
getRoot() |
protected static org.dom4j.Element |
init(String path,
int type)
type=1:初始化root;type=2:初始化dsRoot;type=3:初始化cndRoot
|
protected static org.dom4j.Element |
initForMain(String path,
int type)
用于运行main函数的情况下初始化
type=1:初始化root;type=2:初始化dsRoot;type=3:初始化cndRoot
|
public static final int ROOT_TYPE
public static final int DSROOT_TYPE
public static final int CNDROOT_TYPE
public static final int SPLITDATASTRUCTROOT_TYPE
public static final int QUERYROOT_TYPE
public static String ROOT_PATH
protected static org.dom4j.Element root
protected static final org.dom4j.Element init(String path, int type)
path - type - protected static final org.dom4j.Element initForMain(String path, int type)
path - type - public static org.dom4j.Element getRoot()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.