com.mars.start.startmap.StartLoadList Maven / Gradle / Ivy
package com.mars.start.startmap;
import com.mars.start.startmap.impl.*;
import java.util.HashMap;
import java.util.Map;
/**
* 启动框架需要加载的资源
*/
public class StartLoadList {
/**
* 启动框架需要加载的资源
* @return 返回值
*/
public static Map initStartList(){
Map startList = new HashMap<>();
startList.put(0, new StartCoreServlet());
startList.put(1, new StartLoadClass());
startList.put(2, new StartBeans());
startList.put(3, new StartJDBC());
startList.put(4, new StartBeanObject());
startList.put(5, new StartMarsApi());
startList.put(6, new StartInter());
startList.put(7, new HasStart());
startList.put(8, new StartMarsTimer());
startList.put(9, new StartLoadAfter());
startList.put(10, new StartExecuteTimer());
return startList;
}
/**
* 启动单测需要加载的资源
* @return 返回值
*/
public static Map initTestStartList(){
Map startList = new HashMap<>();
startList.put(0, new StartLoadClass());
startList.put(1, new StartBeans());
startList.put(2, new StartJDBC());
startList.put(3, new StartBeanObject());
startList.put(4, new HasStart());
startList.put(5, new StartMarsTimer());
startList.put(6, new StartLoadAfter());
startList.put(7, new StartExecuteTimer());
return startList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy