Class RadiusGatewayConfiguration
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.radiusgateway.RadiusGatewayConfiguration
- All Implemented Interfaces:
Cloneable,RadiusGatewayConfigurationMBean,oracle.communication.brm.charging.appconfiguration.ChildConfigBean,oracle.communication.brm.charging.appconfiguration.ConfigurationBean,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class RadiusGatewayConfiguration
extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
implements RadiusGatewayConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean
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 an xml configuration file. The bean will default to certain value below if
values are not present in the supplied xml file.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic 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 intstatic final StringFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, POF_IMPL -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRadiusGatewayConfiguration(String name, String beanId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanCluster name of the child configuration MBean.intintReturns port number of NAS client for sending disconnect messagesintintintReturns the wallet location where password is stored.The implementing class is needed for dynamic instantiation in abstract class.intReturns the number of threads which handles I/OintgetName()Returns the radius gateway traffic name.intReturns The number of challenges to be exchanged during authentication.intReturns Port the RGW instance is listening onReturns the password(***) to display on jconsole.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 used to persist and synchronize all app configuration beans to charging-settings.xml.voidsetClusterName(String clusterName) Cluster name of the child configuration MBean.voidsetDisconnectMessageMaxRetryCount(int disconnectMessageMaxRetryCount) voidsetDisconnectMessagePort(int disconnectMessagePort) Sets the port for NAS server for sending disconnect messages.voidsetDisconnectMessageResponseTimeoutMillis(int disconnectMessageResponseTimeoutMillis) voidsetDisconnectMessageRetryDelayMillis(int disconnectMessageRetryDelayMillis) voidsetDisconnectMessageRetryThreadPoolSize(int disconnectMessageRetryThreadPoolSize) voidsetEceWalletLocation(String walletLocation) Sets the Wallet LocationvoidsetIoThreadPoolSize(int thread_pool_size) Sets the I/O Thread Pool Size.voidsetKafkaBatchSize(int kafkaBatchSize) voidSets the Name of the Radius Gateway instance This is the name radius of gateway .voidsetNoOfChallenges(int challenges) Sets The number of challenges to be exchanged during authentication.voidsetRadiusTrafficPort(int port) Sets the radius gateway traffic port.voidsetSharedSecret(String shared_secret, String walletPassword) Method to set the shared secret.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, 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, setEvolutionData
-
Field Details
-
POF_NAME
public static final int POF_NAME- See Also:
-
POF_PORT_NUMBER
public static final int POF_PORT_NUMBER- See Also:
-
POF_THREADPOOL_SIZE
public static final int POF_THREADPOOL_SIZE- See Also:
-
POF_NO_OF_CHALLENGES
public static final int POF_NO_OF_CHALLENGES- See Also:
-
POF_ECE_WALLET_LOCATION
public static final int POF_ECE_WALLET_LOCATION- See Also:
-
POF_DISCONNECT_MESSAGE_PORT
public static final int POF_DISCONNECT_MESSAGE_PORT- See Also:
-
POF_GATEWAY_BATCH_SIZE
public static final int POF_GATEWAY_BATCH_SIZE- See Also:
-
POF_DISCONNECT_MESSAGE_RETRY_THREAD_POOL_SIZE
public static final int POF_DISCONNECT_MESSAGE_RETRY_THREAD_POOL_SIZE- See Also:
-
POF_DISCONNECT_MESSAGE_MAX_RETRY_COUNT
public static final int POF_DISCONNECT_MESSAGE_MAX_RETRY_COUNT- See Also:
-
POF_DISCONNECT_MESSAGE_RETRY_DELAY_MILLIS
public static final int POF_DISCONNECT_MESSAGE_RETRY_DELAY_MILLIS- See Also:
-
POF_DISCONNECT_MESSAGE_RESPONSE_TIMEOUT_MILLIS
public static final int POF_DISCONNECT_MESSAGE_RESPONSE_TIMEOUT_MILLIS- See Also:
-
DEFAULT_NAME
- See Also:
-
DEFAULT_PORT_NUMBER
public static final int DEFAULT_PORT_NUMBER- See Also:
-
DEFAULT_THREADPOOl_SIZE
public static final int DEFAULT_THREADPOOl_SIZE- See Also:
-
DEFAULT_NO_OF_CHALLENGES
public static final int DEFAULT_NO_OF_CHALLENGES- See Also:
-
DEFAULT_ECE_WALLET_LOCATION
- See Also:
-
DEFAULT_GATEWAY_BATCH_SIZE
public static final int DEFAULT_GATEWAY_BATCH_SIZE- See Also:
-
DEFAULT_DM_RETRY_THREAD_POOL_SIZE
public static final int DEFAULT_DM_RETRY_THREAD_POOL_SIZE- See Also:
-
DEFAULT_DM_RETRY_MAX_COUNT
public static final int DEFAULT_DM_RETRY_MAX_COUNT- See Also:
-
DEFAULT_DM_RETRY_DELAY_MILLIS
public static final int DEFAULT_DM_RETRY_DELAY_MILLIS- See Also:
-
DEFAULT_DM_RESPONSE_TIMEOUT_MILLIS
public static final int DEFAULT_DM_RESPONSE_TIMEOUT_MILLIS- See Also:
-
NAME
- See Also:
-
IO_THREAD_POOL_SIZE
- See Also:
-
PORT
- See Also:
-
NO_OF_CHALLENGES
- See Also:
-
ECE_WALLET_LOCATION
- See Also:
-
DISCONNECT_MESSAGES_PORT
- See Also:
-
GATEWAY_BATCH_SIZE
- See Also:
-
DISCONNECT_MESSAGE_RETRY_THREAD_POOL_SIZE
- See Also:
-
DISCONNECT_MESSAGE_MAX_RETRY_COUNT
- See Also:
-
DISCONNECT_MESSAGE_RETRY_DELAY_MILLIS
- See Also:
-
DISCONNECT_MESSAGE_RESPONSE_TIMEOUT_MILLIS
- See Also:
-
-
Constructor Details
-
RadiusGatewayConfiguration
public RadiusGatewayConfiguration()Default constructor -
RadiusGatewayConfiguration
Constructor- Parameters:
name- bean namebeanId- bean id
-
-
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.AbstractConfigurationBean
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstancein interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
-
getEceWalletLocation
Description copied from interface:RadiusGatewayConfigurationMBeanReturns the wallet location where password is stored.- Specified by:
getEceWalletLocationin interfaceRadiusGatewayConfigurationMBean- Returns:
- wallet location
-
setEceWalletLocation
Description copied from interface:RadiusGatewayConfigurationMBeanSets the Wallet Location- Specified by:
setEceWalletLocationin interfaceRadiusGatewayConfigurationMBean- Parameters:
walletLocation- ECE Wallet location
-
getName
Description copied from interface:RadiusGatewayConfigurationMBeanReturns the radius gateway traffic name.- Specified by:
getNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Specified by:
getNamein interfaceRadiusGatewayConfigurationMBean- Returns:
- the Name of the Radius Gateway instance
-
setName
Description copied from interface:RadiusGatewayConfigurationMBeanSets the Name of the Radius Gateway instance This is the name radius of gateway .- Specified by:
setNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Specified by:
setNamein interfaceRadiusGatewayConfigurationMBean- Parameters:
name- of the Radius Gateway instance
-
getClusterName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanCluster name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
getClusterNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Returns:
- cluster name of the child bean
-
setClusterName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanCluster name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
setClusterNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Parameters:
clusterName- cluster name of the child bean
-
getRadiusTrafficPort
public int getRadiusTrafficPort()Description copied from interface:RadiusGatewayConfigurationMBeanReturns Port the RGW instance is listening on- Specified by:
getRadiusTrafficPortin interfaceRadiusGatewayConfigurationMBean- Returns:
- the Port the RGW instance is listening on
-
setRadiusTrafficPort
public void setRadiusTrafficPort(int port) Description copied from interface:RadiusGatewayConfigurationMBeanSets the radius gateway traffic port. This is the port number radius gateway expects receiving traffic.- Specified by:
setRadiusTrafficPortin interfaceRadiusGatewayConfigurationMBean- Parameters:
port- port to listen for request
-
getDisconnectMessagePort
public int getDisconnectMessagePort()Description copied from interface:RadiusGatewayConfigurationMBeanReturns port number of NAS client for sending disconnect messages- Specified by:
getDisconnectMessagePortin interfaceRadiusGatewayConfigurationMBean- Returns:
- port number of NAS client for sending disconnect messages
-
setDisconnectMessagePort
public void setDisconnectMessagePort(int disconnectMessagePort) Description copied from interface:RadiusGatewayConfigurationMBeanSets the port for NAS server for sending disconnect messages.- Specified by:
setDisconnectMessagePortin interfaceRadiusGatewayConfigurationMBean- Parameters:
disconnectMessagePort- NAS server port number for disconnect messages.
-
getIoThreadPoolSize
public int getIoThreadPoolSize()Description copied from interface:RadiusGatewayConfigurationMBeanReturns the number of threads which handles I/O- Specified by:
getIoThreadPoolSizein interfaceRadiusGatewayConfigurationMBean- Returns:
- number of threads which will concurrently log requests to a file
-
setIoThreadPoolSize
public void setIoThreadPoolSize(int thread_pool_size) Description copied from interface:RadiusGatewayConfigurationMBeanSets the I/O Thread Pool Size.- Specified by:
setIoThreadPoolSizein interfaceRadiusGatewayConfigurationMBean- Parameters:
thread_pool_size- number of threads in the threadPool for concurrent handling of request
-
getNoOfChallenges
public int getNoOfChallenges()Description copied from interface:RadiusGatewayConfigurationMBeanReturns The number of challenges to be exchanged during authentication.- Specified by:
getNoOfChallengesin interfaceRadiusGatewayConfigurationMBean- Returns:
- The number of challenges to be exchanged during authentication.
-
setNoOfChallenges
public void setNoOfChallenges(int challenges) Description copied from interface:RadiusGatewayConfigurationMBeanSets The number of challenges to be exchanged during authentication.- Specified by:
setNoOfChallengesin interfaceRadiusGatewayConfigurationMBean- Parameters:
challenges- to be exchanged during authentication.
-
getKafkaBatchSize
public int getKafkaBatchSize()- Specified by:
getKafkaBatchSizein interfaceRadiusGatewayConfigurationMBean- Returns:
- Kafka batch size in integer of messages to be polled.
-
setKafkaBatchSize
public void setKafkaBatchSize(int kafkaBatchSize) - Specified by:
setKafkaBatchSizein interfaceRadiusGatewayConfigurationMBean- Parameters:
kafkaBatchSize- , Kafka batch size in integer of messages to be polled.
-
getDisconnectMessageRetryThreadPoolSize
public int getDisconnectMessageRetryThreadPoolSize()- Specified by:
getDisconnectMessageRetryThreadPoolSizein interfaceRadiusGatewayConfigurationMBean- Returns:
- size of the scheduled thread pool executor in integer to resend disconnect messages.
-
setDisconnectMessageRetryThreadPoolSize
public void setDisconnectMessageRetryThreadPoolSize(int disconnectMessageRetryThreadPoolSize) - Specified by:
setDisconnectMessageRetryThreadPoolSizein interfaceRadiusGatewayConfigurationMBean- Parameters:
disconnectMessageRetryThreadPoolSize- , the size in integer of the scheduled thread pool executor to resend disconnect messages.
-
getDisconnectMessageMaxRetryCount
public int getDisconnectMessageMaxRetryCount()- Specified by:
getDisconnectMessageMaxRetryCountin interfaceRadiusGatewayConfigurationMBean- Returns:
- maximum retry count in integer of a disconnect message.
-
setDisconnectMessageMaxRetryCount
public void setDisconnectMessageMaxRetryCount(int disconnectMessageMaxRetryCount) - Specified by:
setDisconnectMessageMaxRetryCountin interfaceRadiusGatewayConfigurationMBean- Parameters:
disconnectMessageMaxRetryCount- , the maximum retry count in integer of a disconnect message.
-
getDisconnectMessageRetryDelayMillis
public int getDisconnectMessageRetryDelayMillis()- Specified by:
getDisconnectMessageRetryDelayMillisin interfaceRadiusGatewayConfigurationMBean- Returns:
- the gap in milliseconds between two consecutive retries.
-
setDisconnectMessageRetryDelayMillis
public void setDisconnectMessageRetryDelayMillis(int disconnectMessageRetryDelayMillis) - Specified by:
setDisconnectMessageRetryDelayMillisin interfaceRadiusGatewayConfigurationMBean- Parameters:
disconnectMessageRetryDelayMillis- the gap in milliseconds between two consecutive retries.
-
getDisconnectMessageResponseTimeoutMillis
public int getDisconnectMessageResponseTimeoutMillis()- Specified by:
getDisconnectMessageResponseTimeoutMillisin interfaceRadiusGatewayConfigurationMBean- Returns:
- the wait time in millis for receiving a disconnect message response from network.
-
setDisconnectMessageResponseTimeoutMillis
public void setDisconnectMessageResponseTimeoutMillis(int disconnectMessageResponseTimeoutMillis) - Specified by:
setDisconnectMessageResponseTimeoutMillisin interfaceRadiusGatewayConfigurationMBean- Parameters:
disconnectMessageResponseTimeoutMillis- the wait time in millis for receiving a disconnect message response from network.
-
getImplementingClass
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanThe implementing class is needed for dynamic instantiation in abstract class.- Specified by:
getImplementingClassin interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Returns:
- Implementing class
-
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
-
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.- Specified by:
handlePrintConfigurationin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean- Parameters:
logger- the logger is provided to subclassers for writing their config values.
-
equals
- Overrides:
equalsin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-