|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mysql.management.jmx.sunri.MysqldTestAgentSunHtmlAdaptor
public class MysqldTestAgentSunHtmlAdaptor
This Simple JMX Agent is useful for testing.
This JMX Agent requires the Sun specific tools which come with Sun's JMX
Reference Implementation in the "jmxtools.jar" file.
If Sun's "jmxtools.jar" is not available (or more specifically
com.sun.jdmk.comm.HtmlAdaptorServer then deploying to a JMX
Agent is required. (I use JBoss --Eric)
This Agent has exactly two beans: 1) a MysqldDynamicMBean 2) a Broswer
Interface for management
| Constructor Summary | |
|---|---|
MysqldTestAgentSunHtmlAdaptor(int port,
java.lang.String name)
creates the MBean server and adds the Mysqld & Browser Beans |
|
| Method Summary | |
|---|---|
void |
addBrowser(int port)
Creates and adds a Browser Interface for management |
static void |
main(java.lang.String[] args)
starts an MBean server with: 1) a MySQL bean 2) a Browser interface on port 90902 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MysqldTestAgentSunHtmlAdaptor(int port,
java.lang.String name)
throws javax.management.JMException
javax.management.JMException| Method Detail |
|---|
public final void addBrowser(int port)
throws javax.management.JMException
javax.management.JMException
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||