示例#1
0
 public static String getProperty(String key) {
   if (properties == null) {
     properties =
         new LiveProperties(
             new File(weaveContextParams.getConfigPath(), "config.properties"),
             MapUtils.<String, String>fromPairs(ALLOW_R_SCRIPT_ACCESS, "false"));
   }
   return properties.getProperty(key);
 }
示例#2
0
 public static String getDocrootPath() {
   return weaveContextParams.getDocrootPath();
 }
示例#3
0
 public static String getConnectionConfigFilePath() {
   return weaveContextParams.getConfigPath() + "/" + ConnectionConfig.XML_FILENAME;
 }
示例#4
0
 public static String getUploadPath() {
   return weaveContextParams.getUploadPath();
 }