Java Dynamic Management Kit 3.2 Programming Guide
[ Previous ][ Fast Back ]Chapter 5. Adaptors[ Fast Forward ][ Next ]

Adding an Adaptor to an Agent

To add an adaptor, create an instance of the Java class that implements the adaptor you want to use.

Adaptor

Java Class

RMI

com.sun.jaw.impl.adaptor.rmi.AdaptorServerImpl

HTTP/TCP

com.sun.jaw.impl.adaptor.http.AdaptorServerImpl

HTTP/UDP

com.sun.jaw.impl.adaptor.udp.AdaptorServerImpl

HTTP/SSL

com.sun.jaw.impl.adaptor.https.AdaptorServerImpl

HTML

com.sun.jaw.impl.adaptor.html.AdaptorServerImpl

IIOP

com.sun.jaw.impl.adaptor.iiop.AdaptorServerImpl

SNMP

com.sun.jaw.impl.adaptor.snmp.AdaptorServerImpl

The Java Dynamic Management Kit provides the following ways to add an adaptor to an agent:

If you want to use more than one RMI adaptor per agent (or client), you need to run the rmiregistry command for each additional RMI adaptor, specifying the port number that the new adaptor is going to use:
prompt% rmiregistry portNumber

For information on how to add an SNMP adaptor to an agent, refer to Loading MIBs Into an SNMP Adaptor in Chapter 19.


[ Previous ][ Home ][ Next ]
Supplied Adaptors[ Up ]Access to an Adaptor