Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Appendix C. Java Packages Supplied With the Java Dynamic Management Kit | ![]() | ![]() |
The reference packages supplied with the Java Dynamic Management Kit contain generic definitions and implementations. They are contained in the packages under the com.sun.jaw.reference package. The structure of the reference packages is illustrated in Figure C-1. The packages are described in the following subsections.
The com.sun.jaw.reference.common package provides common definitions and implementations used by both management and agent applications. For example, the Java class for representing an object name is part of this package.
The com.sun.jaw.reference.agent.cmf package provides the implementation of the framework. The name of the Java class of this implementation is Framework. A Java Dynamic Management agent must contain an instance of the Framework class.
The com.sun.jaw.reference.agent.services package provides interface definitions of the services available to a Java Dynamic Management agent. An implementation of these services is provided with the implementation packages.
The com.sun.jaw.reference.query package provides the definition and implementation of a query. A query is a set of filtering and querying criteria. For example, using the query object, it is possible to select all the m-beans for which the -color property is set to red.
The com.sun.jaw.reference.client.adaptor package provides the interface definition of an adaptor client (AdaptorMO) class. A Java manager uses the interface defined in this package to communicate with an agent through an adaptor.
The com.sun.jaw.reference.client.mo package provides the generic definition of a managed object. Any c-bean must implement the interface defined in this package.
The com.sun.jaw.reference.mapper package provides the interface definition of a mapping service. A mapping service defines the rules for obtaining the Java class name of an m-bean or a c-bean from its object name.
![]() | ![]() | ![]() |
Java Packages Supplied With the Java Dynamic Management Kit | ![]() | Implementation Packages |