Package org.jppf.ui.console
Class JPPFAdminConsole
java.lang.Object
org.jppf.ui.console.JPPFAdminConsole
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JComponentGet the administration console as aJComponentthat can be added to any Swing container.static org.jppf.client.monitoring.jobs.JobMonitorGet the job monitor used by the admin console.static org.jppf.client.JPPFClientGet the JPPF client used by the admin console.static org.jppf.client.monitoring.topology.TopologyManagerGet the topology manager used by the admin console.static voidLaunch the JPPF administration console.
-
Field Details
-
HAS_CHARTS
public static final boolean HAS_CHARTSWhether the charts library is present in the classpath.- See Also:
-
CONSOLE_WITH_CHARTS
Path to the UI descriptor file when running with charts.- See Also:
-
CONSOLE_WITHOUT_CHARTS
Path to the UI descriptor file when running with charts.- See Also:
-
-
Constructor Details
-
JPPFAdminConsole
public JPPFAdminConsole()
-
-
Method Details
-
main
Launch the JPPF administration console.- Parameters:
args- the command-line arguments are not used.
-
getAdminConsole
Get the administration console as aJComponentthat can be added to any Swing container. This method always returns the sameJComponentinstance.- Returns:
- a
JComponentenclosing 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 sameJPPFClientinstance.- Returns:
- a
JPPFClientinstance 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 sameTopologyManagerinstance.- Returns:
- a
TopologyManagerinstance 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 sameJobMonitorinstance.- Returns:
- a
JobMonitorinstance used by the admin console.
-