Interface BRMConnectionConfigurationMBean
- All Known Implementing Classes:
BRMConnectionConfiguration
public interface BRMConnectionConfigurationMBean
The MBean interface to configuration settings used for BRM Gateway
-
Method Summary
Modifier and TypeMethodDescriptionReturns the port for connecting to BRM.Returns the wallet location where password is stored.Returns FailOver Connection URLsReturns BRM host name for connecting to BRM.Returns the login name for connecting to BRM.intReturns the login type to connect to BRM, 1 indicates with password and 0 indicates no password.intReturns number of connections configured for pooling.Returns the password(***) to display on jconsole.Returns protocol for communication with BRM.intReturns SSL enabled info.Returns wallet locationvoidSets the port used for connecting to BRM.voidsetEceWalletLocation(String walletLocation) Sets the Wallet LocationvoidsetFailOverConnectionUrls(String failOverConnectionUrls) String FailOver Connection URLsvoidsetHostName(String hostName) Sets BRM host name for connecting to BRM.voidsetLoginName(String loginName) Sets the login name for connecting to BRM.voidsetLoginType(int loginType) Sets the login type to connect to BRM, 1 indicates with password and 0 indicates no password.voidsetNumberOfConnections(int numberOfConnections) Sets number of connections configured for pooling.voidsetPassword(String password, String walletPassword) Sets the password used for connecting to BRM.voidsetProtocol(String protocol) Sets protocol for communication with BRM.voidsetSslEnabled(int sslEnabled) enable or disable SSLvoidString wallet locationMethod to test a connection after configuration
-
Method Details
-
getLoginName
String getLoginName()Returns the login name for connecting to BRM.- Returns:
- login name
-
setLoginName
Sets the login name for connecting to BRM.- Parameters:
loginName- the login name for connecting to BRM
-
getProtocol
String getProtocol()Returns protocol for communication with BRM.- Returns:
- protocol.
-
setProtocol
Sets protocol for communication with BRM.- Parameters:
protocol- protocol for communication with BRM
-
getPassword
String getPassword()Returns the password(***) to display on jconsole.- Returns:
- password(***)
-
setPassword
Sets the password used for connecting to BRM.- Parameters:
password- to be setwalletPassword- walletPassword which need to open the wallet
-
getHostName
String getHostName()Returns BRM host name for connecting to BRM.- Returns:
- host name
-
setHostName
Sets BRM host name for connecting to BRM.- Parameters:
hostName- to be set
-
getCmPort
String getCmPort()Returns the port for connecting to BRM.- Returns:
- cmPort
-
setCmPort
Sets the port used for connecting to BRM.- Parameters:
cmPort- to be set
-
getLoginType
int getLoginType()Returns the login type to connect to BRM, 1 indicates with password and 0 indicates no password.- Returns:
- login type
-
setLoginType
void setLoginType(int loginType) Sets the login type to connect to BRM, 1 indicates with password and 0 indicates no password.- Parameters:
loginType- the login type to connect to BRM
-
getNumberOfConnections
int getNumberOfConnections()Returns number of connections configured for pooling.- Returns:
- int number of CM connections
-
setNumberOfConnections
void setNumberOfConnections(int numberOfConnections) Sets number of connections configured for pooling.- Parameters:
numberOfConnections- number of connections configured for pooling
-
getSslEnabled
int getSslEnabled()Returns SSL enabled info.- Returns:
- int SSL enabled info
-
setSslEnabled
void setSslEnabled(int sslEnabled) enable or disable SSL- Parameters:
sslEnabled- for SSL mode
-
getWallet
String getWallet()Returns wallet location- Returns:
- String Wallet
-
setWallet
String wallet location- Parameters:
wallet-
-
getFailOverConnectionUrls
String getFailOverConnectionUrls()Returns FailOver Connection URLs- Returns:
- String failOverConnectionUrls
-
setFailOverConnectionUrls
String FailOver Connection URLs- Parameters:
failOverConnectionUrls-
-
getEceWalletLocation
String getEceWalletLocation()Returns the wallet location where password is stored.- Returns:
- wallet location
-
setEceWalletLocation
Sets the Wallet Location- Parameters:
walletLocation- ECE Wallet location
-
testConnection
String testConnection()Method to test a connection after configuration- Returns:
- Message whether or not the connection configured is successful.
-