Class TopUpHistoryConfig
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 -
Field Summary
FieldsFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, NAME, POF_IMPL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanGet the configured number of top up history to be maintained in the system.voidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper) protected voidhandlePrintConfiguration(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.inthashCode()voidMethod used to persist and synchronize all app configuration beans to charging-settings.xml.voidsetTopUpHistoryCount(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, unRegisterBeanMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
POF_HISTORY_COUNT
public static final int POF_HISTORY_COUNT- See Also:
-
-
Constructor Details
-
TopUpHistoryConfig
public TopUpHistoryConfig()Default Constructor for DEvolution
-
-
Method Details
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstancein interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
-
giveInitializerTo
public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper) - Specified by:
giveInitializerToin interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable- Overrides:
giveInitializerToin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
getTopUpHistoryCount
Description copied from interface:TopUpHistoryConfigMBeanGet 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:
getTopUpHistoryCountin interfaceTopUpHistoryConfigMBean- Returns:
- Returns the configured number of top up information to be maintained in the system or the default value if not configured.
-
setTopUpHistoryCount
Description copied from interface:TopUpHistoryConfigMBeanMethod 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:
setTopUpHistoryCountin interfaceTopUpHistoryConfigMBean- 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.AbstractConfigurationBeanMethod used by subclasses to dump their configuration settings to a log file.- Specified by:
handlePrintConfigurationin classoracle.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.ConfigurationBeanMethod used to persist and synchronize all app configuration beans to charging-settings.xml.- Specified by:
republishAllin interfaceoracle.communication.brm.charging.appconfiguration.ConfigurationBean
-
equals
- Overrides:
equalsin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-