All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.sun.jaw.impl.base.Main
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:
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.
main method does not allow you to specify command-line
parameters.
public Main()
public static void main(String args[])
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