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

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by com.bea.p13n.util.TypedProperties
                  extended by com.beasys.commerce.axiom.util.helper.CommercePropertiesHelper
All Implemented Interfaces
Serializable, Cloneable, Map<Object,Object>

Deprecated Use weblogic mBeans for configuration

@Deprecated
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 com.bea.p13n.util.TypedProperties
ARRAY_DELIMITER_DEFAULT, BOOLEAN_DEFAULT, BOOLEAN_FALSE_VALUES, BOOLEAN_TRUE_VALUES, DOUBLE_DEFAULT, FLOAT_DEFAULT, HEX_DEFAULT, INT_DEFAULT, LONG_DEFAULT, MERGE_ARRAY_DELIMITER_DEFAULT, STRING_ARRAY_DEFAULT, STRING_DEFAULT
 
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 com.bea.p13n.util.TypedProperties
getPropertyAsArray, getPropertyAsArray, getPropertyAsArray, getPropertyAsArray, getPropertyAsBool, getPropertyAsBool, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsHexInt, getPropertyAsHexInt, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, load, load, load, load, subsetProperties
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
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
Constants Summary
Constructor Detail

CommercePropertiesHelper

public CommercePropertiesHelper()
Deprecated 
Method Detail

getInstance

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

Returns
CommercePropertiesHelper

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

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[]

main

public static void main(String[] args)
Deprecated 


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.