Class ClusterConfiguration
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.cluster.ClusterConfiguration
- All Implemented Interfaces:
Cloneable
,ClusterConfigurationMBean
,oracle.communication.brm.charging.appconfiguration.ChildConfigBean
,oracle.communication.brm.charging.appconfiguration.ConfigurationBean
,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class ClusterConfiguration
extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
implements ClusterConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final String
static final String
static final String
static final int
static final int
Fields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, POF_IMPL
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorClusterConfiguration
(String name, String beanId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvable
boolean
Cluster name of the child configuration MBean.int
getId()
Returns clusterId for a ClusterConfiguration.The implementing class is needed for dynamic instantiation in abstract class.getName()
Returns the unique name of the ClusterConfiguration.void
giveInitializerTo
(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) void
handlePrintConfiguration
(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.int
hashCode()
void
Method used to persist and synchronize all app configuration beans to charging-settings.xml.void
setClusterName
(String clusterName) Cluster name of the child configuration MBean.void
setId
(int id) Sets clusterId for a ClusterConfiguration.void
Sets the unique name of the ClusterConfiguration.toString()
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, unRegisterBean
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
getBeanId, getFilename, getModifyingClusterName, getModifyingMemberId, printConfiguration, setBeanId, setFilename, setModifyingClusterName
Methods inherited from interface oracle.communication.brm.charging.util.directevolution.DEvolvable
clone, getEvolutionData, setEvolutionData
-
Field Details
-
POF_NAME
public static final int POF_NAME- See Also:
-
POF_ID
public static final int POF_ID- See Also:
-
DEFAULT_NAME
- See Also:
-
DEFAULT_ID
public static final int DEFAULT_ID- See Also:
-
NAME
- See Also:
-
ID
- See Also:
-
-
Constructor Details
-
ClusterConfiguration
public ClusterConfiguration()Default Constructor -
ClusterConfiguration
Constructor- Parameters:
name
- cluster namebeanId
- bean id
-
-
Method Details
-
giveInitializerTo
public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) - Specified by:
giveInitializerTo
in interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
- Overrides:
giveInitializerTo
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
getName
Description copied from interface:ClusterConfigurationMBean
Returns the unique name of the ClusterConfiguration.- Specified by:
getName
in interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Specified by:
getName
in interfaceClusterConfigurationMBean
- Returns:
- cluster name
-
setName
Description copied from interface:ClusterConfigurationMBean
Sets the unique name of the ClusterConfiguration.- Specified by:
setName
in interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Specified by:
setName
in interfaceClusterConfigurationMBean
- Parameters:
name
- cluster name
-
getClusterName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBean
Cluster name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
getClusterName
in interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Returns:
- cluster name of the child bean
-
setClusterName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBean
Cluster name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
setClusterName
in interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Parameters:
clusterName
- cluster name of the child bean
-
getImplementingClass
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBean
The implementing class is needed for dynamic instantiation in abstract class.- Specified by:
getImplementingClass
in interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Returns:
- Implementing class
-
getId
public int getId()Description copied from interface:ClusterConfigurationMBean
Returns clusterId for a ClusterConfiguration.- Specified by:
getId
in interfaceClusterConfigurationMBean
- Returns:
- cluster Id
-
setId
public void setId(int id) Description copied from interface:ClusterConfigurationMBean
Sets clusterId for a ClusterConfiguration.- Specified by:
setId
in interfaceClusterConfigurationMBean
- Parameters:
id
- a cluster id
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstance
in interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
-
toString
- Overrides:
toString
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
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 interfaceoracle.communication.brm.charging.appconfiguration.ConfigurationBean
-
handlePrintConfiguration
public 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 classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
- Parameters:
logger
- the logger is provided to subclassers for writing their config values.
-
equals
- Overrides:
equals
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCode
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-