Class PricingUpdaterConfig
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.pricingupdater.PricingUpdaterConfig
- All Implemented Interfaces:
Cloneable,PricingUpdaterConfigMBean,oracle.communication.brm.charging.appconfiguration.ConfigurationBean,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class PricingUpdaterConfig
extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
implements PricingUpdaterConfigMBean
This class represents the configuration bean for the Pricing Updater. All available
connection parameter values to connect to the PDC queue for de-queing the pricing objects
are present in this bean. The bean is populated with values that
are present in an xml configuration file.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final booleanstatic 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 intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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.DEvolvablebooleanMethod to fetch the ConnectionFactory nameintMethod to get the connection retry countintMethod to get the sleep interval between connection retriesMethod to get the connection URLReturns the wallet location where password is stored.Method to fetch the host nameMethod to fetch the initial context factory nameMethod to fetch the keyStore LocationReturns the password(***) to display on jconsole.Returns the password(***) to display on jconsole.getPort()Method to fetch the portMethod to fetch the protocolLocation pricing updater uses to generate request specs in xml format.Method to fetch the time out intervalMethod to fetch the user nameMethod to fetch the queue nameMethod to fetch the queue namevoidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper) voidhandlePrintConfiguration(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.inthashCode()booleanThis flag determines whether or not pricing updater would generate request specs in xml format.voidMethod used to persist and synchronize all app configuration beans to charging-settings.xml.voidsetConnectionFactory(String connectionFactory) Method to set the connection factory name.voidsetConnectionRetryCount(int count) Method to set the connection retry countvoidsetConnectionRetrySleepInterval(int milliSeconds) Method to set the sleep interval between connection retriesvoidsetConnectionURL(String connectionURL) Method to set the connection URLvoidsetEceWalletLocation(String walletLocation) Sets the Wallet LocationvoidsetHostName(String hostName) Method to set the host name.voidsetInitialContextFactory(String initialContextFactory) Method to set the initial context factory.voidsetKeyStoreLocation(String keyStoreLocation) Method to set the keyStore Location.voidsetKeyStorePassword(String keyStorePassword) voidsetKeyStorePassword(String keystorePassword, String walletPassword) Method to set the keyStore password.voidsetPassword(String password) voidsetPassword(String password, String walletPassword) Set the user password.voidMethod to set the port.voidsetProtocol(String protocol) Method to set the protocol.voidsetRequestSpecXMLGenarationEnabled(boolean requestSpecXMLGenarationEnabled) This flag determines whether or not pricing updater would generate request specs in xml format.voidsetRequestSpecXMLGenarationLocation(String requestSpecXMLGenarationLocation) Location pricing updater uses to generate request specs in xml format.voidsetRequestTimeOut(String requestTimeOut) Method to set the request time out interval.voidsetUserName(String userName) Method to set the user name.voidsetWorkItemQueueName(String queueName) Method to set the work item queue name.voidsetWorkResultQueueName(String queueName) Method to set the work result queue name.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_HOST_NAME
public static final int POF_HOST_NAME- See Also:
-
POF_PORT
public static final int POF_PORT- See Also:
-
POF_USER_NAME
public static final int POF_USER_NAME- See Also:
-
POF_CONNECTION_FACTORY
public static final int POF_CONNECTION_FACTORY- See Also:
-
POF_WORK_ITEM_QUEUE_NAME
public static final int POF_WORK_ITEM_QUEUE_NAME- See Also:
-
POF_WORK_RESULT_QUEUE_NAME
public static final int POF_WORK_RESULT_QUEUE_NAME- See Also:
-
POF_PROTOCOL
public static final int POF_PROTOCOL- See Also:
-
POF_INITIAL_CONTEXT_FACTORY
public static final int POF_INITIAL_CONTEXT_FACTORY- See Also:
-
POF_REQUEST_TIME_OUT
public static final int POF_REQUEST_TIME_OUT- See Also:
-
POF_KEYSTORE_LOCATION
public static final int POF_KEYSTORE_LOCATION- See Also:
-
POF_REQUEST_SPEC_XML_GENERATION_ENABLED
public static final int POF_REQUEST_SPEC_XML_GENERATION_ENABLED- See Also:
-
POF_REQUEST_SPEC_XML_GENERATION_LOCATION
public static final int POF_REQUEST_SPEC_XML_GENERATION_LOCATION- See Also:
-
POF_CONNECTION_URL
public static final int POF_CONNECTION_URL- See Also:
-
POF_CONNECTION_RETRY_COUNT
public static final int POF_CONNECTION_RETRY_COUNT- See Also:
-
POF_CONNECTION_RETRY_SLEEP_INTERVAL
public static final int POF_CONNECTION_RETRY_SLEEP_INTERVAL- See Also:
-
POF_ECE_WALLET_LOCATION
public static final int POF_ECE_WALLET_LOCATION- See Also:
-
HOST_NAME
- See Also:
-
PORT
- See Also:
-
USER_NAME
- See Also:
-
CONNECTION_FACTORY
- See Also:
-
WORK_ITEM_QUEUE_NAME
- See Also:
-
WORK_RESULT_QUEUE_NAME
- See Also:
-
PROTOCOL
- See Also:
-
INITIAL_CONTEXT_FACTORY
- See Also:
-
REQUEST_TIME_OUT
- See Also:
-
KEYSTORE_LOCATION
- See Also:
-
REQUEST_SPEC_XML_GENERATION_ENABLED
- See Also:
-
REQUEST_SPEC_XML_GENERATION_LOCATION
- See Also:
-
CONNECTION_URL
- See Also:
-
CONNECTION_RETRY_COUNT
- See Also:
-
CONNECTION_RETRY_SLEEP_INTERVAL
- See Also:
-
ECE_WALLET_LOCATION
- See Also:
-
DEFAULT_PROTOCOL
- See Also:
-
DEFAULT_WORK_ITEM_QUEUE_NAME
- See Also:
-
DEFAULT_WORK_RESULT_QUEUE_NAME
- See Also:
-
DEFAULT_REQUEST_TIME_OUT
- See Also:
-
DEFAULT_INITIAL_CONTEXT_FACTORY
- See Also:
-
DEFAULT_CONNECTION_FACTORY
- See Also:
-
DEFAULT_KEY_STORE_LOCATION
- See Also:
-
DEFAULT_REQUEST_SPEC_XML_GENERATION_ENABLED
public static final boolean DEFAULT_REQUEST_SPEC_XML_GENERATION_ENABLED- See Also:
-
DEFAULT_REQUEST_SPEC_XML_GENERATION_LOCATION
- See Also:
-
DEFAULT_CONNECTION_URL
- See Also:
-
DEFAULT_CONNECTION_RETRY_COUNT
public static final int DEFAULT_CONNECTION_RETRY_COUNT- See Also:
-
DEFAULT_CONNECTION_RETRY_SLEEP_INTERVAL
public static final int DEFAULT_CONNECTION_RETRY_SLEEP_INTERVAL- See Also:
-
DEFAULT_ECE_WALLET_LOCATION
- See Also:
-
-
Constructor Details
-
PricingUpdaterConfig
public PricingUpdaterConfig()Constructor used for initializing the event lists
-
-
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
-
getEceWalletLocation
Description copied from interface:PricingUpdaterConfigMBeanReturns the wallet location where password is stored.- Specified by:
getEceWalletLocationin interfacePricingUpdaterConfigMBean- Returns:
- wallet location
-
setEceWalletLocation
Description copied from interface:PricingUpdaterConfigMBeanSets the Wallet Location- Specified by:
setEceWalletLocationin interfacePricingUpdaterConfigMBean- Parameters:
walletLocation- ECE Wallet location
-
getHostName
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the host name- Specified by:
getHostNamein interfacePricingUpdaterConfigMBean- Returns:
- host name of the pricing server
-
setHostName
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the host name.- Specified by:
setHostNamein interfacePricingUpdaterConfigMBean- Parameters:
hostName- host on which pricing server is running
-
getPort
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the port- Specified by:
getPortin interfacePricingUpdaterConfigMBean- Returns:
- port on which the pricing server is running
-
setPort
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the port.- Specified by:
setPortin interfacePricingUpdaterConfigMBean- Parameters:
port- port number of the pricing server
-
getUserName
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the user name- Specified by:
getUserNamein interfacePricingUpdaterConfigMBean- Returns:
- user of the pricing server
-
setUserName
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the user name.- Specified by:
setUserNamein interfacePricingUpdaterConfigMBean- Parameters:
userName- user name used to login to pricing server
-
getPassword
Description copied from interface:PricingUpdaterConfigMBeanReturns the password(***) to display on jconsole.- Specified by:
getPasswordin interfacePricingUpdaterConfigMBean- Returns:
- password(***)
-
getPasswordFromWallet
-
setPassword
Description copied from interface:PricingUpdaterConfigMBeanSet the user password.- Specified by:
setPasswordin interfacePricingUpdaterConfigMBean- Parameters:
password- to be setwalletPassword- walletPassword which need to open the wallet
-
getConnectionFactory
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the ConnectionFactory name- Specified by:
getConnectionFactoryin interfacePricingUpdaterConfigMBean- Returns:
- JNDI name of the connection factory
-
getConnectionURL
Description copied from interface:PricingUpdaterConfigMBeanMethod to get the connection URL- Specified by:
getConnectionURLin interfacePricingUpdaterConfigMBean- Returns:
- String representing the connection url
-
setConnectionURL
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the connection URL- Specified by:
setConnectionURLin interfacePricingUpdaterConfigMBean- Parameters:
connectionURL- the connection URL
-
getConnectionRetryCount
public int getConnectionRetryCount()Description copied from interface:PricingUpdaterConfigMBeanMethod to get the connection retry count- Specified by:
getConnectionRetryCountin interfacePricingUpdaterConfigMBean- Returns:
- int - the connection retry count
-
setConnectionRetryCount
public void setConnectionRetryCount(int count) Description copied from interface:PricingUpdaterConfigMBeanMethod to set the connection retry count- Specified by:
setConnectionRetryCountin interfacePricingUpdaterConfigMBean- Parameters:
count- the connection retry count
-
getConnectionRetrySleepInterval
public int getConnectionRetrySleepInterval()Description copied from interface:PricingUpdaterConfigMBeanMethod to get the sleep interval between connection retries- Specified by:
getConnectionRetrySleepIntervalin interfacePricingUpdaterConfigMBean- Returns:
- int - the sleep interval in milli seconds
-
setConnectionRetrySleepInterval
public void setConnectionRetrySleepInterval(int milliSeconds) Description copied from interface:PricingUpdaterConfigMBeanMethod to set the sleep interval between connection retries- Specified by:
setConnectionRetrySleepIntervalin interfacePricingUpdaterConfigMBean- Parameters:
milliSeconds- the sleep interval in milli seconds
-
setConnectionFactory
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the connection factory name.- Specified by:
setConnectionFactoryin interfacePricingUpdaterConfigMBean- Parameters:
connectionFactory- The JNDI name used to look up the connection factory
-
getWorkItemQueueName
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the queue name- Specified by:
getWorkItemQueueNamein interfacePricingUpdaterConfigMBean- Returns:
- work item queue name
-
setWorkItemQueueName
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the work item queue name.- Specified by:
setWorkItemQueueNamein interfacePricingUpdaterConfigMBean- Parameters:
queueName- The global JNDI name of the queue to be contacted
-
getWorkResultQueueName
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the queue name- Specified by:
getWorkResultQueueNamein interfacePricingUpdaterConfigMBean- Returns:
- work result queue name
-
setWorkResultQueueName
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the work result queue name.- Specified by:
setWorkResultQueueNamein interfacePricingUpdaterConfigMBean- Parameters:
queueName- The global JNDI name of the result queue to be contacted
-
getProtocol
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the protocol- Specified by:
getProtocolin interfacePricingUpdaterConfigMBean- Returns:
- protocol through which the server needs to be connected
-
setProtocol
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the protocol.- Specified by:
setProtocolin interfacePricingUpdaterConfigMBean- Parameters:
protocol- e.g."t3://"
-
getKeyStoreLocation
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the keyStore Location- Specified by:
getKeyStoreLocationin interfacePricingUpdaterConfigMBean- Returns:
- Key store location through which the server needs to be connected
-
setKeyStoreLocation
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the keyStore Location.- Specified by:
setKeyStoreLocationin interfacePricingUpdaterConfigMBean- Parameters:
keyStoreLocation-
-
getKeyStorePassword
Description copied from interface:PricingUpdaterConfigMBeanReturns the password(***) to display on jconsole.- Specified by:
getKeyStorePasswordin interfacePricingUpdaterConfigMBean- Returns:
- password(***)
-
getKeyStorePasswordFromWallet
-
setKeyStorePassword
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the keyStore password.- Specified by:
setKeyStorePasswordin interfacePricingUpdaterConfigMBean- Parameters:
keystorePassword-walletPassword- walletPassword which need to open the wallet
-
getInitialContextFactory
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the initial context factory name- Specified by:
getInitialContextFactoryin interfacePricingUpdaterConfigMBean- Returns:
- JNDI name of the initial context factory name
-
setInitialContextFactory
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the initial context factory.- Specified by:
setInitialContextFactoryin interfacePricingUpdaterConfigMBean- Parameters:
initialContextFactory- name of the initial context for accessing WebLogic naming service
-
getRequestTimeOut
Description copied from interface:PricingUpdaterConfigMBeanMethod to fetch the time out interval- Specified by:
getRequestTimeOutin interfacePricingUpdaterConfigMBean- Returns:
- time interval
-
setRequestTimeOut
Description copied from interface:PricingUpdaterConfigMBeanMethod to set the request time out interval.- Specified by:
setRequestTimeOutin interfacePricingUpdaterConfigMBean- Parameters:
requestTimeOut- time out interval used for polling the request
-
isRequestSpecXMLGenarationEnabled
public boolean isRequestSpecXMLGenarationEnabled()Description copied from interface:PricingUpdaterConfigMBeanThis flag determines whether or not pricing updater would generate request specs in xml format.- Specified by:
isRequestSpecXMLGenarationEnabledin interfacePricingUpdaterConfigMBean- Returns:
- requestSpecXMLGenarationEnabled
-
setRequestSpecXMLGenarationEnabled
public void setRequestSpecXMLGenarationEnabled(boolean requestSpecXMLGenarationEnabled) Description copied from interface:PricingUpdaterConfigMBeanThis flag determines whether or not pricing updater would generate request specs in xml format.- Specified by:
setRequestSpecXMLGenarationEnabledin interfacePricingUpdaterConfigMBean- Parameters:
requestSpecXMLGenarationEnabled- the flag
-
getRequestSpecXMLGenarationLocation
Description copied from interface:PricingUpdaterConfigMBeanLocation pricing updater uses to generate request specs in xml format.- Specified by:
getRequestSpecXMLGenarationLocationin interfacePricingUpdaterConfigMBean- Returns:
- requestSpecXMLGenarationEnabled
-
setRequestSpecXMLGenarationLocation
Description copied from interface:PricingUpdaterConfigMBeanLocation pricing updater uses to generate request specs in xml format.- Specified by:
setRequestSpecXMLGenarationLocationin interfacePricingUpdaterConfigMBean- Parameters:
requestSpecXMLGenarationLocation- the location
-
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
-
setPassword
-
setKeyStorePassword
-