Esempio n. 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);
 }
Esempio n. 2
0
 public static String getDocrootPath() {
   return weaveContextParams.getDocrootPath();
 }
Esempio n. 3
0
 public static String getConnectionConfigFilePath() {
   return weaveContextParams.getConfigPath() + "/" + ConnectionConfig.XML_FILENAME;
 }
Esempio n. 4
0
 public static String getUploadPath() {
   return weaveContextParams.getUploadPath();
 }