Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
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
|