![]() |
JMX Agent and Instrumentation Reference Implementation |
This software bundle provides examples of applications using JMX. The MBeans in these examples follow the design patterns defined in the instrumentation level of the JMX specification document. In order to exercise these MBeans, each example has an agent application that relies on the classes of the JMX RI.Using the most common management operations, these sample programs demostrate a very basic usage of the JMX RI. You may use these examples to develop more complex MBeans and full-featured JMX agents to fit your management solution.
Each example consists of Java source files and a README file, all contained in a specific directory. The README file explains the topics covered by the example and instructions for compiling and running the classes.
Standard MBean Example
Provides a sample implementation of a standard MBean and a JMX agent which demonstrates how to access its management interface.View the README file or the source code for the standard MBean example.
Dynamic MBean Example
Provides a sample implementation of a dynamic MBean and a JMX agent which demonstrates how to access its management interface.View the README file or the source code for the dynamic MBean example.
Model MBean Example
Provides a sample implementation of a model MBean and a JMX agent which demonstrates how to access its management interface.View the README file or the source code for the model MBean example.
Monitor Service MBean Example
Demontrates the monitor service in a JMX agent and the listener mechanism for receiving its notifications.View the README file or the source code for the monitor MBean example.
Relation Service Example
Shows how to use the relation service to handle relations, relation types and to perform queries to retrieve relations.View the README file or the source code for the relation service example.
Base Agent Example
Shows how to use the HTML protocol adaptor provided in the JMX toolkit. This adaptor lets you connect to a JMX agent from any Web browser.View the README file or the source code for the base agent example.
Copyright © 2000
Sun Microsystems, Inc.,
901 San Antonio Road, Palo Alto, CA 94303, USA.
All rights reserved.