All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.impl.base.Main

java.lang.Object
   |
   +----com.sun.jaw.impl.base.Main

public class Main
extends Object
The Main class provides an implementation of a simple Java Dynamic Management agent. It provides a single framework for the management of applications and system resources on a host machine.

An agent implemented by the Main class initializes the services that a Java Dynamic Management agent must provide:

In addition, the agent starts these managed object adaptor servers: The HTML adaptor allows the user to manage the agent that uses it through a Web browser. To manage the agent through a Web browser, point the Web browser at http://hostname:8082.

The default URL for the HTTP adaptor is http://hostname:8081. The port number to be used for HTTP can be changed.

You have to extend an agent implemented by the Main class to enable the agent to restart the nonpersistent services that can be dynamically added to it. To extend an agent in this way, you use a configuration file.

The source code of the Main class is provided as an example in the /opt/SUNWconn/jaw/examples/agent directory.


Constructor Index

 o Main()

Method Index

 o main(String[])
The main method does not allow you to specify command-line parameters.

Constructors

 o Main
 public Main()

Methods

 o main
 public static void main(String args[])
The main method does not allow you to specify command-line parameters. However, it does allow you to specify the trace level by using the DEBUG properties. For more information on trace levels, refer to the class Debug.


All Packages  Class Hierarchy  This Package  Previous  Next  Index