Class RadiusGatewayConfigurations
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.radiusgateway.RadiusGatewayConfigurations
- All Implemented Interfaces:
Cloneable,Observer,RadiusGatewayConfigurationsMBean,oracle.communication.brm.charging.appconfiguration.ConfigurationBean,oracle.communication.brm.charging.appconfiguration.ParentConfigBean,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class RadiusGatewayConfigurations
extends oracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
implements oracle.communication.brm.charging.appconfiguration.ParentConfigBean, RadiusGatewayConfigurationsMBean, Observer
This class represents the configuration bean for the RadiusGateway. All available
configuration values are present in this bean. The bean is populated with values that
are present in a xml configuration file.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Booleanstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
CLUSTER_NAME_SEPARATOR, POF_CHILD_CONFIGURATIONS, SEPARATORFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, NAME, POF_IMPL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to add new radius gateway configuration.oracle.communication.brm.charging.util.directevolution.DEvolvablebooleanMethod to return AVP name used to determine Product Type.Returns the path to the configuration in the xml fileMethod to return RetransmissionCheck is enabled/disabledMethod to return KeyPassMethod to return Key Store location.intMethod to return the maximum number of sessions per userintMethod to return the size of connection pool required to process the notifications from kafkaintMethod to return Queue SizeintMethod to return expiring timeout period for entries in local cacheMethod to return Vendor Id of the AVP name used to determine Product Type.Method to return Wallet location.voidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) voidhandlePrintConfiguration(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.inthashCode()voidMethod to remove new radius gateway configuration.voidMethod used to persist and synchronize all app configuration beans to charging-settings.xml.voidsetAvpName(String avpName) Method to set the AVP name used to determine Product Type.voidsetEnableRetransmissionCheck(Boolean enableRetransmissionCheck) Method to enable/disable Retransmission handlingvoidsetKeyPass(String keyPass) Method to set the KeyPass.voidsetKeyStoreLocation(String keyStoreLocation) Method to set the Key Store location.voidsetMaxSessionsPerUser(int maxSessionsPerUser) Method to set the maximum number of sessions per uservoidsetNotificationListenerConnectionPoolSize(int notificationListenerConnectionPoolSize) Method to set the number of connection pool required to process the notifications from kafkavoidsetQueueSize(int queueSize) Method to set the queue sizevoidsetRadiusGatewayConfigurationList(List<oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean> radiusGatewayConfiguration) Method used by spring to set List of RadiusGateway configurations.voidsetTimeToLive(int timeToLive) Method to set the expiring timeout period for entries in local cachevoidsetVendorId(Integer vendorId) Method to set Vendor id of the AVP name used to determine Product Type.voidNethod to set the Wallet location.Methods inherited from class oracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
addChildConfiguration, addChildConfiguration, diameterGatewayNodeAssociatedWithCluster, getChildConfiguration, getChildConfiguration, getChildren, initialize, removeChildConfiguration, removeChildConfiguration, removeChildConfigurations, setChildConfigurationList, updateMethods 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, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
getBeanId, getFilename, getModifyingClusterName, getModifyingMemberId, printConfiguration, setBeanId, setFilename, setModifyingClusterNameMethods inherited from interface oracle.communication.brm.charging.util.directevolution.DEvolvable
clone, getEvolutionData, setEvolutionDataMethods inherited from interface oracle.communication.brm.charging.appconfiguration.ParentConfigBean
addChildConfiguration, addChildConfiguration, getChildren, initialize, removeChildConfiguration, removeChildConfiguration, removeChildConfigurations
-
Field Details
-
CONFIGURATION_NODE
- See Also:
-
POF_WALLET
public static final int POF_WALLET- See Also:
-
POF_QUEUE_SIZE
public static final int POF_QUEUE_SIZE- See Also:
-
POF_AVP_NAME
public static final int POF_AVP_NAME- See Also:
-
POF_VENDOR_ID
public static final int POF_VENDOR_ID- See Also:
-
POF_KEY_STORE_LOCATION
public static final int POF_KEY_STORE_LOCATION- See Also:
-
POF_KEY_PASS
public static final int POF_KEY_PASS- See Also:
-
POF_ENABLE_RETRANSMISSION_CHECK
public static final int POF_ENABLE_RETRANSMISSION_CHECK- See Also:
-
POF_TIME_TO_LIVE
public static final int POF_TIME_TO_LIVE- See Also:
-
POF_NOTIFICATION_LISTENER_CONNECTION_POOL_SIZE
public static final int POF_NOTIFICATION_LISTENER_CONNECTION_POOL_SIZE- See Also:
-
POF_MAX_SESSIONS_PER_USER
public static final int POF_MAX_SESSIONS_PER_USER- See Also:
-
DEFAULT_WALLET
- See Also:
-
DEFAULT_QUEUE_SIZE
public static final int DEFAULT_QUEUE_SIZE- See Also:
-
DEFAULT_AVP_NAME
- See Also:
-
DEFAULT_VENDOR_ID
public static final int DEFAULT_VENDOR_ID- See Also:
-
DEFAULT_KEY_STORE_LOCATION
- See Also:
-
DEFAULT_KEY_PASS
- See Also:
-
DEFAULT_ENABLE_RETRANSMISSION_CHECK
-
DEFAULT_TIME_TO_LIVE
public static final int DEFAULT_TIME_TO_LIVE- See Also:
-
DEFAULT_NOTIFICATION_LISTENER_CONNECTION_POOL_SIZE
public static final int DEFAULT_NOTIFICATION_LISTENER_CONNECTION_POOL_SIZE- See Also:
-
DEFAULT_MAX_SESSIONS_PER_USER
public static final int DEFAULT_MAX_SESSIONS_PER_USER- See Also:
-
WALLET
- See Also:
-
QUEUE_SIZE
- See Also:
-
AVP_AME
- See Also:
-
VENDOR_ID
- See Also:
-
KEY_STORE_LOCATION
- See Also:
-
KEYPASS
- See Also:
-
ENABLE_RETRANSMISSION_CHECK
- See Also:
-
TIME_TO_LIVE
- See Also:
-
NOTIFICATION_LISTENER_CONNECTION_POOL_SIZE
- See Also:
-
MAX_SESSIONS_PER_USER
- See Also:
-
-
Constructor Details
-
RadiusGatewayConfigurations
public RadiusGatewayConfigurations()Constructor
-
-
Method Details
-
giveInitializerTo
public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) - Specified by:
giveInitializerToin interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable- Overrides:
giveInitializerToin classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstancein interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable- Specified by:
createInstancein classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
-
setRadiusGatewayConfigurationList
public void setRadiusGatewayConfigurationList(List<oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean> radiusGatewayConfiguration) Method used by spring to set List of RadiusGateway configurations.- Parameters:
radiusGatewayConfiguration-
-
addRadiusGatewayConfiguration
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to add new radius gateway configuration.- Specified by:
addRadiusGatewayConfigurationin interfaceRadiusGatewayConfigurationsMBean- Parameters:
name- name of the radius gateway configuration. This should be unique
-
removeRadiusGatewayConfiguration
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to remove new radius gateway configuration.- Specified by:
removeRadiusGatewayConfigurationin interfaceRadiusGatewayConfigurationsMBean- Parameters:
name- name of the radius gateway configuration
-
getConfigurationNode
Description copied from class:oracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBeanReturns the path to the configuration in the xml file- Specified by:
getConfigurationNodein classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean- Returns:
- path to configuration
-
getAvpName
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return AVP name used to determine Product Type.- Specified by:
getAvpNamein interfaceRadiusGatewayConfigurationsMBean- Returns:
- AVP Name.
-
setAvpName
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the AVP name used to determine Product Type.- Specified by:
setAvpNamein interfaceRadiusGatewayConfigurationsMBean- Parameters:
avpName- AVP Name
-
getVendorId
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return Vendor Id of the AVP name used to determine Product Type.- Specified by:
getVendorIdin interfaceRadiusGatewayConfigurationsMBean- Returns:
- Vendor Id.
-
setVendorId
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set Vendor id of the AVP name used to determine Product Type.- Specified by:
setVendorIdin interfaceRadiusGatewayConfigurationsMBean- Parameters:
vendorId- Vendor Id
-
setQueueSize
public void setQueueSize(int queueSize) Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the queue size- Specified by:
setQueueSizein interfaceRadiusGatewayConfigurationsMBean- Parameters:
queueSize- Size of the queue for disruptor
-
getQueueSize
public int getQueueSize()Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return Queue Size- Specified by:
getQueueSizein interfaceRadiusGatewayConfigurationsMBean- Returns:
- Queue Size
-
getWallet
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return Wallet location.- Specified by:
getWalletin interfaceRadiusGatewayConfigurationsMBean- Returns:
- Path of the wallet containing the root key
-
setWallet
Description copied from interface:RadiusGatewayConfigurationsMBeanNethod to set the Wallet location.- Specified by:
setWalletin interfaceRadiusGatewayConfigurationsMBean- Parameters:
wallet- Path of the wallet containing the root key
-
getKeyStoreLocation
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return Key Store location.- Specified by:
getKeyStoreLocationin interfaceRadiusGatewayConfigurationsMBean- Returns:
- Path of the key store containing the certificate
-
setKeyStoreLocation
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the Key Store location.- Specified by:
setKeyStoreLocationin interfaceRadiusGatewayConfigurationsMBean- Parameters:
keyStoreLocation- Path of the wallet containing the certificate
-
getKeyPass
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return KeyPass- Specified by:
getKeyPassin interfaceRadiusGatewayConfigurationsMBean- Returns:
- key pass
-
setKeyPass
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the KeyPass.- Specified by:
setKeyPassin interfaceRadiusGatewayConfigurationsMBean- Parameters:
keyPass- KeyPass
-
getEnableRetransmissionCheck
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return RetransmissionCheck is enabled/disabled- Specified by:
getEnableRetransmissionCheckin interfaceRadiusGatewayConfigurationsMBean- Returns:
- RetransmissionCheck flag
-
setEnableRetransmissionCheck
Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to enable/disable Retransmission handling- Specified by:
setEnableRetransmissionCheckin interfaceRadiusGatewayConfigurationsMBean- Parameters:
enableRetransmissionCheck-
-
getTimeToLive
public int getTimeToLive()Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return expiring timeout period for entries in local cache- Specified by:
getTimeToLivein interfaceRadiusGatewayConfigurationsMBean- Returns:
- timeout period in seconds
-
setTimeToLive
public void setTimeToLive(int timeToLive) Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the expiring timeout period for entries in local cache- Specified by:
setTimeToLivein interfaceRadiusGatewayConfigurationsMBean- Parameters:
timeToLive-
-
getNotificationListenerConnectionPoolSize
public int getNotificationListenerConnectionPoolSize()Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return the size of connection pool required to process the notifications from kafka- Specified by:
getNotificationListenerConnectionPoolSizein interfaceRadiusGatewayConfigurationsMBean- Returns:
- notificationListenerConnectionPoolSize
-
setNotificationListenerConnectionPoolSize
public void setNotificationListenerConnectionPoolSize(int notificationListenerConnectionPoolSize) Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the number of connection pool required to process the notifications from kafka- Specified by:
setNotificationListenerConnectionPoolSizein interfaceRadiusGatewayConfigurationsMBean- Parameters:
notificationListenerConnectionPoolSize- notificationListenerConnectionPoolSize
-
getMaxSessionsPerUser
public int getMaxSessionsPerUser()Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to return the maximum number of sessions per user- Specified by:
getMaxSessionsPerUserin interfaceRadiusGatewayConfigurationsMBean- Returns:
- maxSessionsPerUser
-
setMaxSessionsPerUser
public void setMaxSessionsPerUser(int maxSessionsPerUser) Description copied from interface:RadiusGatewayConfigurationsMBeanMethod to set the maximum number of sessions per user- Specified by:
setMaxSessionsPerUserin interfaceRadiusGatewayConfigurationsMBean- Parameters:
maxSessionsPerUser- maxSessionsPerUser
-
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- Overrides:
republishAllin classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
-
handlePrintConfiguration
public 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.- Overrides:
handlePrintConfigurationin classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean- Parameters:
logger- the logger is provided to subclassers for writing their config values.
-
equals
- Overrides:
equalsin classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractParentConfigurationBean
-