All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----examples.agentiiop.Agent
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.
main method does not allow you to specify command-line
parameters.
public Agent()
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
Debug object.
public static Framework getFramework()
All Packages Class Hierarchy This Package Previous Next Index