通过 BundleResource 获取 *.properties 文件,再通过键获取值
/**
* getConfig
* @param configName
* @return String
*/
public static String getConfig(String configName){
ResourceBundle resb = ResourceBundle.getBundle("context-aif-core");
return resb.getString(configName);
}