Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6360570

Need plugin API for custom JMXConnectors

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Add support for custom JMXConnectors in JConsole through a system property "jconsole.jmxConnectorBuilder" that takes a user-defined class that implements
      a well-defined interface and returns a fully configured JMXConnector ready to
      use.

      The interface might look like:

      public interface JMXConnectorBuilder {
          public JMXConnector getJMXConnector(JMXServiceURL url,
                                              String username,
                                              String password);
      }

      Adding this to JConsole would allow customers to configure SSL factories and
      authentication in a more flexible way for the out-of-the-box management and
      also to support protocols other than "rmi".

      This new RFE will complement the already existing one:

      6229985: Allow to supply properties in the Advance tab.
      We could reuse javax.management.remote.JMXConnectorProvider for this, with its single method:
          JMXConnector newJMXConnector(JMXServiceURL url, Map<String,?> env)
              throws IOException;
      The Map would optionally contain username and password encoded in the usual way inside the jmx.remote.credentials value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lmalvent Luis-Miguel Alventosa (Inactive)
                Reporter:
                lmalvent Luis-Miguel Alventosa (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: