Interface EMGatewayConfigurationMBean

All Known Implementing Classes:
EMGatewayConfiguration

public interface EMGatewayConfigurationMBean
The MBean interface to configuration settings used by EMGateway.
  • Method Details

    • getPort

      int getPort()
      Returns the port number of the EMGateway. EMGateway listens to BRM PCP request using a ServerSocket on this port.
      Returns:
      the port number for this soc
    • setPort

      void setPort(int port)
      Sets the port.
      Parameters:
      port - port to listen for request
    • setThreadPoolSize

      void setThreadPoolSize(int threads)
      Sets the threadPoolSize.
      Parameters:
      threads - number of threads in the threadPool for concurrent handling of request
    • getThreadPoolSize

      int getThreadPoolSize()
      Returns the number of threads which will concurrently handle requests. Default value is 10.
      Returns:
      number of threads which will concurrently log requests to a file
    • getName

      String getName()
      Returns the name specified in the configuration.
      Returns:
      name of the configuration name
    • getSslEnabled

      int getSslEnabled()
      Indicates if SSL is enabled
      Returns:
      1 if enabled 0 if not
    • setSslEnabled

      void setSslEnabled(int sslEnabled)
      enable/disable SSL
      Parameters:
      sslEnabled - 1 to enable SSL and 0 to disable SSL
    • getSocketKeepAlive

      int getSocketKeepAlive()
      Indicates if socket option keepALive is enabled
      Returns:
      int
    • setSocketKeepAlive

      void setSocketKeepAlive(int socketKeepAlive)
      enable/disable socket keep alive
      Parameters:
      socketKeepAlive - int
    • getClientAuthenticationEnabled

      int getClientAuthenticationEnabled()
      Indicates if client authentication is needed in SSL
      Returns:
      1 indicating client authentication is needed and 0 indicating not needed
    • setClientAuthenticationEnabled

      void setClientAuthenticationEnabled(int clientAuthenticationEnabled)
      enable/disable client authentication
      Parameters:
      clientAuthenticationEnabled - 1 indicating client authentication is needed and 0 indicating not needed
    • getWallet

      String getWallet()
      returns the wallet location
      Returns:
      the wallet file
    • setWallet

      void setWallet(String wallet)
      sets the wallet file
      Parameters:
      wallet - wallet file location
    • setUpdateResponseTimeout

      void setUpdateResponseTimeout(int updateResponseTimeout)
      Method used to modify the response timeout in millisecond
      Parameters:
      updateResponseTimeout - wait time for response.
    • getUpdateResponseTimeout

      int getUpdateResponseTimeout()
      Method used to get the current max time out time for response to wait
      Returns:
      the max wait time for response.