CommercePropertiesHelper Class
DEPRECATED Use weblogic mBeans for configuration
- public class CommercePropertiesHelper
extends TypedProperties
Subclass of the typed properties class, that will return
properties as longs, strings, double, etc. Also implements
a way to find keys that start with a value. e.g. find me
all of the keys that start with personalization.portal.
-
Hierarchy
-
Object
Dictionary
Hashtable
Properties
TypedProperties
CommercePropertiesHelper
-
All Implemented Interfaces
-
Cloneable
, Map
, Serializable
Methods from java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
SYSTEM_PROPERTY_KEY
public static final String
SYSTEM_PROPERTY_KEY
CommercePropertiesHelper
public CommercePropertiesHelper()
getInstance() Method
public static CommercePropertiesHelper
getInstance()
Get the singleton instance.
Returns
CommercePropertiesHelper
getKeysFor(String) Method
public String
[] getKeysFor(String
startsWith)
Get all of the keys for the properties table that
start with the given string. e.g. getKeysFor("personalization.portal")
would return "personalization.portal.backgroundColor", "personalization.portal.foregroundColor", etc.
Returns
String[]
load() Method
public synchronized void load()
throws IOException
Load. You may also use this if you change the
properties file and you don't want to restart the
server.
Exceptions
-
IOException
main(String[]) Method
public static void main(String
[] args)