![JAR search and dependency download from the Maven repository](/logo.png)
com.edas.pandora.PandoraUtils Maven / Gradle / Ivy
package com.edas.pandora;
import com.taobao.hsf.standalone.HSFMiniContainer;
/**
* Created by ifree613 on 2017/7/25.
*/
public class PandoraUtils {
public static void loadPandoraByLightApi(){
try {
String pandoraPath=System.getProperty("pandora.location");
if(pandoraPath!=null&&!"".equals(pandoraPath.trim())){
int sardirpos=pandoraPath.indexOf("taobao-hsf.sar");
if (sardirpos!=-1){
pandoraPath=pandoraPath.substring(0,sardirpos);
}
HSFMiniContainer.start(pandoraPath);
}
} catch (Exception e) {
// e.printStackTrace();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy