java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.externalTopUp.TopUpHistoryConfig
All Implemented Interfaces:
Cloneable, TopUpHistoryConfigMBean, oracle.communication.brm.charging.appconfiguration.ConfigurationBean, oracle.communication.brm.charging.util.directevolution.DEvolvable

public class TopUpHistoryConfig extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean implements TopUpHistoryConfigMBean
This class represents the configuration bean for the Top Up History. The bean is populated with values that are present in an xml configuration file.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean

    CONFIG_CLASS, M_BEAN_CATEGORY, NAME, POF_IMPL
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor for DEvolution
  • Method Summary

    Modifier and Type
    Method
    Description
    oracle.communication.brm.charging.util.directevolution.DEvolvable
     
    boolean
     
    Get the configured number of top up history to be maintained in the system.
    void
    giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper)
     
    protected void
    handlePrintConfiguration(org.apache.logging.log4j.Logger logger)
    Method used by subclasses to dump their configuration settings to a log file.
    int
     
    void
    Method used to persist and synchronize all app configuration beans to charging-settings.xml.
    void
    setTopUpHistoryCount(Integer topUpHistoryCount)
    Method to set the number of top up information to be maintained in history The specified number of top up request ids will be maintained in the system.

    Methods inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean

    broadcast, clone, getBeanId, getEvolutionData, getFilename, getImpl, getModifyingClusterName, getModifyingMemberId, printConfiguration, publish, publish, publishArrayItem, publishClearArray, publishRemoveArrayItem, registerBean, setBeanId, setEvolutionData, setFilename, setModifyingClusterName, toBinary, toString, unRegisterBean

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • TopUpHistoryConfig

      public TopUpHistoryConfig()
      Default Constructor for DEvolution
  • Method Details

    • createInstance

      public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()
      Specified by:
      createInstance in interface oracle.communication.brm.charging.util.directevolution.DEvolvable
    • giveInitializerTo

      public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper)
      Specified by:
      giveInitializerTo in interface oracle.communication.brm.charging.util.directevolution.DEvolvable
      Overrides:
      giveInitializerTo in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • getTopUpHistoryCount

      public Integer getTopUpHistoryCount()
      Description copied from interface: TopUpHistoryConfigMBean
      Get the configured number of top up history to be maintained in the system. Default value is 3

      Any external top up request that is received with an id present in this history will be considered duplicate.

      Specified by:
      getTopUpHistoryCount in interface TopUpHistoryConfigMBean
      Returns:
      Returns the configured number of top up information to be maintained in the system or the default value if not configured.
    • setTopUpHistoryCount

      public void setTopUpHistoryCount(Integer topUpHistoryCount)
      Description copied from interface: TopUpHistoryConfigMBean
      Method to set the number of top up information to be maintained in history The specified number of top up request ids will be maintained in the system. Any external top up request that is received with an id present in this history will be considered duplicate.
      Specified by:
      setTopUpHistoryCount in interface TopUpHistoryConfigMBean
      Parameters:
      topUpHistoryCount - number of top up information to be maintained in history
    • handlePrintConfiguration

      protected void handlePrintConfiguration(org.apache.logging.log4j.Logger logger)
      Description copied from class: oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
      Method used by subclasses to dump their configuration settings to a log file.
      Specified by:
      handlePrintConfiguration in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
      Parameters:
      logger - the logger is provided to subclassers for writing their config values.
    • republishAll

      public void republishAll()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ConfigurationBean
      Method used to persist and synchronize all app configuration beans to charging-settings.xml.
      Specified by:
      republishAll in interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean