public class AutoDependReader extends Object
| Constructor and Description |
|---|
AutoDependReader() |
| Modifier and Type | Method and Description |
|---|---|
static Class<?>[] |
modulePropertyLoad(Properties moduleProperties,
ClassLoader classLoader)
获取需要加载的类
|
static String[] |
modulePropertyScan(Properties moduleProperties)
从properties中提取出需要扫描的包路径。
|
static Properties[] |
readModuleFactories(ClassLoader loader)
读取所有的simbotFactory文件,并转化为Properties列表
|
public static Properties[] readModuleFactories(ClassLoader loader) throws IOException
IOExceptionpublic static String[] modulePropertyScan(Properties moduleProperties)
moduleProperties - module的propertiespublic static Class<?>[] modulePropertyLoad(Properties moduleProperties, ClassLoader classLoader)
Copyright © 2020. All rights reserved.