All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.agentiiop.Agent

java.lang.Object
   |
   +----examples.agentiiop.Agent

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

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

In addition, the agent starts these managed object adaptor servers:

The default IIOP URL of the adaptor is iiop://[hostname]:8085/com.sun.jaw.impl.adaptor.iiop.AdaptorServerImpl You have to extend an agent implemented by the Agent 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.


Constructor Index

 o Agent()
Constructor: Just start a thread

Method Index

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

Constructors

 o Agent
 public Agent()
Constructor: Just start a thread

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 Debug object.

 o getFramework
 public static Framework getFramework()
Returns the Framework.


All Packages  Class Hierarchy  This Package  Previous  Next  Index