java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
com.ibm.commerce.server.ConfigProperties
Gets the properties values from property cache. The property cache is constructed from the information in the configuration xml file. The key for the properties is all the hierarchy path from "InstanceProperties" layer in the configuration file, plus the property attribute name and separated with "/", for example, "RuleServices/RuleService/name".
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
protected java.lang.String | merchantKey |
Fields inherited from class java.util.Properties |
defaults |
Method Summary | |
void | addWebModule(WebModuleConfig config) Adds a web modules configuration. |
java.util.Vector | getAllValues(java.lang.String key) Returns all values from the configuration file as a Vector |
java.lang.String | getMerchantKey() Gets the merchant key |
java.lang.String | getSeparator() Gets a separator character. |
java.lang.String | getValue(java.lang.String key) Returns the first value from the configuration file as a string |
java.lang.String | getValue(java.lang.String key, java.lang.String def) Returns the first value from the configuration file as a string |
WebModuleConfig | getWebModule(java.lang.String name) Gets a web module configuation given the web module name. |
WebModuleConfig | getWebModuleByContextPath(java.lang.String path) Returns a web module configuation given a context path. |
java.lang.String | getWebServerAlias(java.lang.String key) Returns the value of a web server alias. |
void | setMerchantKey(java.lang.String key) Gets the merchant key. |
void | setWebModule(java.lang.String name, WebModuleConfig config) Sets the web modules configuration by name. |
void | setWebModuleByContextPath(java.lang.String contextPath, WebModuleConfig config) Sets the web modules configuration for a context path. |
void | setWebServerAlias(java.lang.String name, java.lang.String value) Sets the value of a web server alias. |
static ConfigProperties | singleton() Gets a singleton ConfigProperties object. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.lang.String merchantKey
Method Detail |
public java.util.Vector getAllValues(java.lang.String key)
public java.lang.String getMerchantKey()
public java.lang.String getSeparator()
public java.lang.String getValue(java.lang.String key)
public java.lang.String getValue(java.lang.String key, java.lang.String def)
public java.lang.String getWebServerAlias(java.lang.String key)
public void setMerchantKey(java.lang.String key)
public void setWebServerAlias(java.lang.String name, java.lang.String value)
public static ConfigProperties singleton()
public WebModuleConfig getWebModuleByContextPath(java.lang.String path)
public void setWebModuleByContextPath(java.lang.String contextPath, WebModuleConfig config)
public WebModuleConfig getWebModule(java.lang.String name)
public void setWebModule(java.lang.String name, WebModuleConfig config)
public void addWebModule(WebModuleConfig config)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.