Interface BRMConnectionConfigurationMBean

All Known Implementing Classes:
BRMConnectionConfiguration

public interface BRMConnectionConfigurationMBean
The MBean interface to configuration settings used for BRM Gateway
  • Method Details

    • getLoginName

      String getLoginName()
      Returns the login name for connecting to BRM.
      Returns:
      login name
    • setLoginName

      void setLoginName(String loginName)
      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

      void setProtocol(String protocol)
      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

      void setPassword(String password, String walletPassword)
      Sets the password used for connecting to BRM.
      Parameters:
      password - to be set
      walletPassword - walletPassword which need to open the wallet
    • getHostName

      String getHostName()
      Returns BRM host name for connecting to BRM.
      Returns:
      host name
    • setHostName

      void setHostName(String hostName)
      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

      void setCmPort(String cmPort)
      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

      void setWallet(String wallet)
      String wallet location
      Parameters:
      wallet -
    • getFailOverConnectionUrls

      String getFailOverConnectionUrls()
      Returns FailOver Connection URLs
      Returns:
      String failOverConnectionUrls
    • setFailOverConnectionUrls

      void setFailOverConnectionUrls(String failOverConnectionUrls)
      String FailOver Connection URLs
      Parameters:
      failOverConnectionUrls -
    • getEceWalletLocation

      String getEceWalletLocation()
      Returns the wallet location where password is stored.
      Returns:
      wallet location
    • setEceWalletLocation

      void setEceWalletLocation(String walletLocation)
      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.