Register the JMXManagementPlugin implementation

You must register the Java implementation of JMXManagementPlugin before you can call the plugin from an external application.

Before you begin

Procedure

  1. In the Studio Project window, select configuration > config > Plugins > registry.
  2. Right-click the registry directory and select New > Plugin.
    The Plugin dialog appears.
  3. Enter a plugin Name of JMXManagementPlugin. Enter the Interface name of ManagementPlugin.
  4. Click OK.
    Studio creates the plugin and shows its initial settings in the plugin registry.
  5. In the Plugins registry main pane for the new plugin, click the plus sign (+) and select Add OSGi Plugin.
  6. In the Service PID field, type the fully qualified Java class name for your OSGi implementation class.
    examples.pl.plugins.management.JMXManagementPlugin

What to do next

You can call the JMXManagementPlugin from an external application. See Calling the JMXManagementPlugin from an external application.