org.jmx4odp.dynamicManagement
Class SimpleServer
java.lang.Object
org.jmx4odp.dynamicManagement.SimpleServer
public class SimpleServer
- extends java.lang.Object
Example server that starts a JMX agent with an HTML adaptor and dynamically
created Model MBeans for managing classes.
Usage: java org.jmx4odp.dynamicManager.SimpleServer ..
- Author:
- Lucas McGregor
|
Constructor Summary |
SimpleServer()
Creates a new instance of SimpleServer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleServer
public SimpleServer()
- Creates a new instance of SimpleServer
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
getHtmlPort
public int getHtmlPort()
setHtmlPort
public void setHtmlPort(int i)
start
public void start()
startManagedResource
public void startManagedResource(java.lang.String className)
throws java.lang.Exception
- Throws:
java.lang.Exception