Class JmxUtils

java.lang.Object
de.hybris.platform.jmx.JmxUtils

public class JmxUtils extends Object
JMX utilities
  • Field Details

  • Constructor Details

    • JmxUtils

      public JmxUtils()
  • Method Details

    • normalizeTenantID

      public static String normalizeTenantID(String id)
      Converts a specified 'tenant id' to a more "speaking, nice looking" name. ... will be used for JMX treenode name generation The current impl. converts 'master' to 'Master Tenant' for example
      Parameters:
      id - tenant id
      Returns:
      jmx node name
    • startJMXConnector

      public static void startJMXConnector(String urlAsString)
      use service:jmx:rmi:///jndi/rmi://:9003/jmxrmi to start a server on port 9003
      Parameters:
      urlAsString - the url for starting the JMX server.
    • stopJMXConnector

      public static void stopJMXConnector()