com.j256.simplejmx.client
Class Main
java.lang.Object
com.j256.simplejmx.client.Main
public class Main
- extends Object
Sample main class which starts our JMX client. We have this separated from CommandLineJmxClient
so others can
use it in their Main classes.
- Author:
- graywatson
Constructor Summary |
Main()
|
Method Summary |
void |
doMain(String[] args,
boolean throwOnError)
This is public for testing purposes. |
static void |
main(String[] args)
Standard main method that can be called from the command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
main
public static void main(String[] args)
throws Exception
- Standard main method that can be called from the command line.
- Throws:
Exception
doMain
public void doMain(String[] args,
boolean throwOnError)
throws Exception
- This is public for testing purposes.
- Parameters:
throwOnError
- If true then throw an exception when we quit otherwise exit.
- Throws:
Exception
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.