org.jmx4odp.dynamicManagement
Class SimpleServer

java.lang.Object
  extended by 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
 
Method Summary
 int getHtmlPort()
           
static void main(java.lang.String[] args)
           
 void setHtmlPort(int i)
           
 void start()
           
 void startManagedResource(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServer

public SimpleServer()
Creates a new instance of SimpleServer

Method Detail

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