Class JPPFAdminConsole

java.lang.Object
org.jppf.ui.console.JPPFAdminConsole

public class JPPFAdminConsole extends Object
This class provides an API to launch the JPPF admininstration console and to embed it within an external GUI application.
Since:
5.0
Author:
Laurent Cohen
  • Field Details

    • HAS_CHARTS

      public static final boolean HAS_CHARTS
      Whether the charts library is present in the classpath.
      See Also:
    • CONSOLE_WITH_CHARTS

      public static final String CONSOLE_WITH_CHARTS
      Path to the UI descriptor file when running with charts.
      See Also:
    • CONSOLE_WITHOUT_CHARTS

      public static final String CONSOLE_WITHOUT_CHARTS
      Path to the UI descriptor file when running with charts.
      See Also:
  • Constructor Details

    • JPPFAdminConsole

      public JPPFAdminConsole()
  • Method Details

    • main

      public static void main(String[] args)
      Launch the JPPF administration console.
      Parameters:
      args - the command-line arguments are not used.
    • getAdminConsole

      public static JComponent getAdminConsole()
      Get the administration console as a JComponent that can be added to any Swing container. This method always returns the same JComponent instance.
      Returns:
      a JComponent enclosing the JPPF administration console.
    • getJPPFClient

      public static org.jppf.client.JPPFClient getJPPFClient()
      Get the JPPF client used by the admin console. This method always returns the same JPPFClient instance.
      Returns:
      a JPPFClient instance used by the admin console.
    • getTopologyManager

      public static org.jppf.client.monitoring.topology.TopologyManager getTopologyManager()
      Get the topology manager used by the admin console. This method always returns the same TopologyManager instance.
      Returns:
      a TopologyManager instance used by the admin console.
    • getJobMonitor

      public static org.jppf.client.monitoring.jobs.JobMonitor getJobMonitor()
      Get the job monitor used by the admin console. This method always returns the same JobMonitor instance.
      Returns:
      a JobMonitor instance used by the admin console.