org.jmx4odp.dynamicManagement
Class SimpleJndiManager
java.lang.Object
org.jmx4odp.dynamicManagement.SimpleJndiManager
public class SimpleJndiManager
- extends java.lang.Object
Example server that starts a JMX agent with an HTML adaptor and dynamically
created Model MBeans for managing all the objects in a registry. It will
use the jndi.properties file to determine the which registry to use.
Usage: java org.jmx4odp.dynamicManager.SimpleJndiManager
- Author:
- Lucas McGregor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleJndiManager
public SimpleJndiManager()
- 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()
throws java.lang.Exception
- Throws:
java.lang.Exception