Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 5. Adaptors | ![]() | ![]() |
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:
Including it in the code of the agent as illustrated in Adding Adaptors in Chapter 2
Dynamically loading it through another adaptor using the method described in Instantiating New M-Beans in Chapter 7
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.
![]() | ![]() | ![]() |
Supplied Adaptors | ![]() | Access to an Adaptor |