|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.test4j.module.core.utility.ModulesLoader
public class ModulesLoader
A class for loading test4j modules.
The core names set by the#PROPKEY_MODULES property which modules
will be loaded.
test4j.modules=a, b, c, d
test4j.modules.a.className= org.test4j.core.AModule
test4j.modules.a.enabled= false
The above configuration will load 3 core classes A, B and C and will always
perform processing in order C, B, A.
| 字段摘要 | |
|---|---|
static String |
PROPKEY_MODULE_ENABLED_CLASS
特定模块类属性后缀 如果特定的模块类在classpath中不存在,则不加载该模块 |
static String |
PROPKEY_MODULE_PREFIX
First part of all core specific properties. |
static String |
PROPKEY_MODULE_SUFFIX_CLASS_NAME
Last part of the core specific property that specifies the classname of the core. |
static String |
PROPKEY_MODULE_SUFFIX_ENABLED
Last part of the core specific property that specifies whether the core should be loaded. |
| 构造方法摘要 | |
|---|---|
ModulesLoader()
|
|
| 方法摘要 | |
|---|---|
static List<Module> |
loading()
Loading all test4j modules which are enabled and available. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String PROPKEY_MODULE_PREFIX
public static final String PROPKEY_MODULE_SUFFIX_ENABLED
public static final String PROPKEY_MODULE_ENABLED_CLASS
public static final String PROPKEY_MODULE_SUFFIX_CLASS_NAME
| 构造方法详细信息 |
|---|
public ModulesLoader()
| 方法详细信息 |
|---|
public static List<Module> loading()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||