1 13 package info.magnolia.cms.core; 14 15 import java.util.Hashtable ; 16 import java.util.Map ; 17 18 19 23 public final class SystemProperty { 24 25 public static final String MAGNOLIA_REPOSITORIES_CONFIG = "magnolia.repositories.config"; 27 public static final String MAGNOLIA_EXCHANGE_HISTORY = "magnolia.exchange.history"; 29 public static final String MAGNOLIA_UPLOAD_TMPDIR = "magnolia.upload.tmpdir"; 31 public static final String MAGNOLIA_CACHE_STARTDIR = "magnolia.cache.startdir"; 33 public static final String MAGNOLIA_APP_ROOTDIR = "magnolia.app.rootdir"; 35 public static final String MAGNOLIA_BOOTSTRAP_ROOTDIR = "magnolia.bootstrap.dir"; 37 private static Map properties = new Hashtable (); 38 39 42 private SystemProperty() { 43 } 45 46 50 public static void setProperty(String name, String value) { 51 SystemProperty.properties.put(name, value); 52 } 53 54 57 public static String getProperty(String name) { 58 return (String ) SystemProperty.properties.get(name); 59 } 60 61 64 public static Map getPropertyList() { 65 return SystemProperty.properties; 66 } 67 } 68 | Popular Tags |