© 2005 BEA Systems, Inc.

com.beasys.commerce.axiom.util.helper
Class CommercePropertiesHelper

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bycom.bea.p13n.util.TypedProperties
                  extended bycom.beasys.commerce.axiom.util.helper.CommercePropertiesHelper
All Implemented Interfaces:
Cloneable, Map, Serializable

Deprecated. Use weblogic mBeans for configuration

public class CommercePropertiesHelper
extends com.bea.p13n.util.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.

See Also:
Serialized Form

Field Summary
static String SYSTEM_PROPERTY_KEY
          Deprecated.  
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
CommercePropertiesHelper()
          Deprecated.  
 
Method Summary
static CommercePropertiesHelper getInstance()
          Deprecated. Get the singleton instance.
 String[] getKeysFor(String startsWith)
          Deprecated. Get all of the keys for the properties table that start with the given string.
 void load()
          Deprecated. Load.
static void main(String[] args)
          Deprecated.  
 
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

SYSTEM_PROPERTY_KEY

public static final String SYSTEM_PROPERTY_KEY
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

CommercePropertiesHelper

public CommercePropertiesHelper()
Deprecated. 
Method Detail

getInstance

public static CommercePropertiesHelper getInstance()
Deprecated. 
Get the singleton instance.

Returns:
CommercePropertiesHelper

getKeysFor

public String[] getKeysFor(String startsWith)
Deprecated. 
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.

Parameters:
startsWith -
Returns:
String[]

load

public void load()
          throws IOException
Deprecated. 
Load. You may also use this if you change the properties file and you don't want to restart the server.

Throws:
IOException

main

public static void main(String[] args)
Deprecated. 

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved