CLASSPATH environment variable of the agent.
|
http://host:port
|
The m-bean browser web page is opened in the web browser. An example of its content is shown in FIGURE 8-1.

FIGURE 8-1 M-Bean Browser Web Page
Operations on an M-Bean
The m-bean browser web page enables you to preview an m-bean under development by:
|
To Read or Write the Properties of an M-Bean Instance |
|
To Perform an Action on an M-Bean Instance |
|
To Instantiate or Delete an M-Bean Instance |
Delete to delete the m-bean
|
Shortcut for Deleting an M-Bean Instance |
The job Tool
The job tool provides a graphical representation of the m-beans registered with an agent. It is a debugging tool that enables you to preview an m-bean under development by instantiating it and by performing operations on the m-bean instance. It is also an example of a simple Java manager. Starting and Connecting the job Tool
When it is started, the job tool is not connected to an agent and no m-beans are displayed. You have to connect it to the agent of which you want to preview the m-beans. Before trying to connect the job tool to an agent, ensure that:
CLASSPATH environment variable of the agent.
CLASSPATH environment variable of the job tool.
|
To Start the job Tool |
| Type the command for your operating environment: |
|
prompt% /opt/SUNWconn/bin/job
|
|
C:\> "c:\Program Files\SUNWconn\jaw\bin\job"
|
|
To Connect the job Tool to an Agent |
|
protocol:hostname:port
|
|
To Connect to an Agent by Using the Discovery Option |
Double-clicking an agent in the Discovery window connects the job tool to the agent.
|
To Change the Default Discovery Parameters |
|
To Revert to the Default Discovery Parameters |
| In the Discovery Setup window, click Defaults. |

FIGURE 8-7 Icon Representation of M-Bean Instances in the job Tool Window
Changing Your View of M-Beans
The job tool enables you to choose whether m-bean instances are represented as icons, or in a list. It also enables you to choose the domain of the m-bean instances that you want to view. The domain of an m-bean is part of its object name as explained in "Object Name" on page 41.
|
To View M-Bean Instances as a List |
| In the job tool window, select the List option. |
|
To Choose the Domain |
|
To Read or Write the Properties of an M-Bean Instance |
|
To Perform an Action on an M-Bean Instance |
|
To Instantiate an M-Bean |
|
To Delete an M-Bean Instance |
Domain
The domain part of the object name of the m-bean instance specifies the domain within which the m-bean exists. It must be an unquoted text string without spaces. The domain part of an object name is optional. If you do not specify the domain, the default domain of the agent is used. Class
The class part of the object name of the m-bean instance. If the agent does not use the default rule for obtaining the Java class of an m-bean from the class part of its object name, you must use the Java Class option to specify the Java class of the m-bean. The default rule for obtaining the Java class of an m-bean from its object name is described in "Mapping Rules for Class Names" on page 81. Class is mandatory.
For the job tool only:
Clicking the button adjacent to the Class text-entry field opens a list of the Java classes accessible to the agent. This list contains the Java class names of:
Note - If you are using the job tool, set the More option to on to add the Java Class and Class Loader text-entry fields to the Create Object window.
CLASSPATH environment variable of the agent. By default, it is the class part of the object name of the m-bean instance. You only need to specify this option if the agent does not use the default rule for obtaining the Java class of an m-bean from the class part of its object name.
Note - The default rule for obtaining the Java class of an m-bean from its object name is described in "Mapping Rules for Class Names" on page 81.