Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Appendix D. Java Beans Development Kit Example | ![]() | ![]() |
Before using this example, make sure that your class path defines the paths to:
JavaŽ 2 SDK, Standard Edition, version 1.2 classes
BeanBox classes
Java Dynamic Management Kit classes
The classes used in this example
prompt% java sun.beanbox.BeanBoxFrame |
The path to this command must be defined either in the command you type or in your PATH variable.
AgentMain.jar
TextSample.jar
Once loaded, the names of the files appear in the list of items in the ToolBox window.
When you instantiate TextSample, the Properties window contains a field named text.
To view the changes, preview the m-bean using either the job tool (See The job Tool in Chapter 8) or a Web browser (See The M-Bean Browser Web Page in Chapter 8).
![]() | ![]() | ![]() |
Compiling the Agent | ![]() | The Default Base Agent |