java.lang.Object
com.sportradar.livedata.sdk.common.classes.jmx.SimpleJMX

public class SimpleJMX extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleJMX(boolean enabled, String jmxHost, int jmxPort, String passwordFile, String accessFile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Object object)
    Add object to be added to JMX port at start Note that you add just one instance of specific class
    void
    Start MBean server and register objects
    void
    Stop JMX port if enabled and unregister objects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimpleJMX

      public SimpleJMX(boolean enabled, String jmxHost, int jmxPort, String passwordFile, String accessFile)
      Parameters:
      enabled - enables com.sportradar.livedata.sdk.loginterceptor.jmx
      jmxHost - Host of com.sportradar.livedata.sdk.loginterceptor.jmx eg. "localhost"
      jmxPort - Port of com.sportradar.livedata.sdk.loginterceptor.jmx
      passwordFile - password file
      accessFile - access file
  • Method Details

    • start

      public void start()
      Start MBean server and register objects
    • add

      public void add(Object object)
      Add object to be added to JMX port at start Note that you add just one instance of specific class
      Parameters:
      object - Simple JMX MBean object
    • stop

      public void stop()
      Stop JMX port if enabled and unregister objects