DEPRECATED Use weblogic mBeans for configuration

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

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`

## Field Summary

`public static final `String`` | `SYSTEM_PROPERTY_KEY` String

Fields from java.util`.`Properties``
`defaults`

## Constructor Summary

CommercePropertiesHelper()

## Method Summary

`public static `CommercePropertiesHelper`` | `getInstance`() Get the singleton instance.
`public `String`[]` | `getKeysFor`(`String` startsWith) Get all of the keys for the properties table that start with the given string.
`public synchronized void` | `load`() Load.
`public static void` | `main`(`String`[] args)

Methods from `java.util.`Properties``
`getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store`

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 `java.util.`Dictionary``
`elements, get, isEmpty, keys, put, remove, size`

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`

## Field Detail

### SYSTEM_PROPERTY_KEY

    public static final String SYSTEM_PROPERTY_KEY

## Constructor Detail

### CommercePropertiesHelper

    public CommercePropertiesHelper()

## Method Detail

### 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)