ilog.rules.monitor.jmx

Class IlrJMXRemoteThreadMonitor



  • public final class IlrJMXRemoteThreadMonitor
    extends IlrJMXAbstractThreadMonitor
    This class authorizes to monitor remote JVM via the javax.management.remote API.
    Since:
    JRules 7.0
    • Constructor Detail

      • IlrJMXRemoteThreadMonitor

        public IlrJMXRemoteThreadMonitor(java.lang.String jmxUrl,
                                 java.util.Map<java.lang.String,?> properties)
                                  throws java.net.MalformedURLException
        Construts instance of this class, and connects to a remote MBeanServer.
        Throws:
        java.net.MalformedURLException - if jmxURL does not conform to the syntax for an Abstract Service URL or if it is not a valid name for a JMX Remote API service. A jmxURL must begin with the string "service:jmx:" (case-insensitive). It must not contain any characters that are not printable ASCII characters.
        Parameters:
        jmxUrl - string parsed to build a javax.management.remote.JMXServiceURL.
        properties - a set of attributes to determine how the connection is made. This parameter can be null. Keys in this map must be Strings. The appropriate type of each associated value depends on the attribute. The contents of environment are not changed by this call.
    • Method Detail

      • endUsage

        public void endUsage()
        Closes the client connection to the remote MBeanServer.
        Specified by:
        endUsage in class IlrJMXAbstractThreadMonitor
        Throws:
        java.lang.RuntimeException - if the connection cannot be closed cleanly. If this exception is thrown, it is not known whether the server end of the connection has been cleanly closed.

© Copyright IBM Corp. 1987, 2017