com.ibm.commerce.subscription.facade.server.config

Class SubscriptionConfigurationRegistry

  • java.lang.Object
    • com.ibm.commerce.subscription.facade.server.config.SubscriptionConfigurationRegistry


  • public class SubscriptionConfigurationRegistry
    extends java.lang.Object
    The SubscriptionConfigurationRegistry provides the component configuration for the subscription component. This class is responsible for retrieving the component configuration from both base and extended directories and merging the configuration. The configuration returned by this class is the merged configuration. The merged configuration gives precedence to the extended configuration which means that the extended configuration will overwrite the base configuration.
    • Field Detail

      • COPYRIGHT

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

      • getInstance

        public static SubscriptionConfigurationRegistry getInstance()
        Returns the sole instance of the SubscriptionConfigurationRegistry.
        Returns:
        Instance of the SubscriptionConfigurationRegistry class.
      • getSubscriptionComponentConfiguration

        public SubscriptionComponentConfigurationType getSubscriptionComponentConfiguration()
        This method returns the subscription component configuration. Any class invoking this method should not store a reference of the SubscriptionComponentConfigurationType object being returned. Since the configuration could be reloaded at runtime, holding onto the SubscriptionComponentConfigurationType object reference will cause the class to work with out-dated configuration.
        Returns:
        An instance of SubscriptionComponentConfigurationType which is the merged instance of both base and extended configurations.