com.ibm.commerce.inventory.facade.server.helper

Class InventoryConfiguration

  • java.lang.Object
    • com.ibm.commerce.inventory.facade.server.helper.InventoryConfiguration


  • public class InventoryConfiguration
    extends java.lang.Object
    This utility class is used to read the simple key/value configurations from Inventory-Server component configuration files.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String get(java.lang.String configGroupKey, java.lang.String propertyName)
      Gets the parameter value from its group name and parameter name.
      java.util.List getConfigGrouping(java.lang.String name)
      Gets the configuration group parameters by name.
      java.util.List getExtendedConfigurationNodeList()
      Gets a list of configuration nodes for the extended configuration.
      static InventoryConfiguration instance()
      Returns an instance of StoreInformationConfiguration object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • instance

        public static InventoryConfiguration instance()
        Returns an instance of StoreInformationConfiguration object.
        Returns:
        an instance of StoreInformationConfiguration.
      • getExtendedConfigurationNodeList

        public java.util.List getExtendedConfigurationNodeList()
        Gets a list of configuration nodes for the extended configuration.
        Returns:
      • getConfigGrouping

        public java.util.List getConfigGrouping(java.lang.String name)
        Gets the configuration group parameters by name.
        Parameters:
        name - the configuration group name.
        Returns:
        a list of parameters that belong to the group.
      • get

        public java.lang.String get(java.lang.String configGroupKey,
                                    java.lang.String propertyName)
        Gets the parameter value from its group name and parameter name.
        Parameters:
        configGroupKey - The group name this parameter belongs to.
        propertyName - the property parameter name.
        Returns:
        the parameter value.