To add a connector/protocol adaptor to an agent, create an instance of the Java class that implements the connector/protocol adaptor you want to use.
|
Adaptor |
Java Class |
|---|---|
|
RMI |
com.sun.jdmk.comm.RmiConnectorServer |
|
HTTP/TCP | com.sun.jdmk.comm.HttpConnectorServer |
|
HTML | com.sun.jdmk.comm.HtmlAdaptorServer |
|
SNMP | com.sun.jdmk.comm.SnmpAdaptorServer |
|
HTTP/SSL | com.sun.jdmk.comm.HttpsConnectorServer |
A connector/protocol adaptor is an abstraction of a communications protocol. This means that the communication mechanism between agent and manager is hidden. The connectors/protocol adaptors provided by the Java Dynamic Management Kit 4.1 are implemented as MBeans. This enables them to be managed. The Java Dynamic Management Kit 4.1 does not require a connector/protocol adaptor to conform to a specific interface definition or implementation. However, a connector/protocol adaptor must be able to access the MBean server to retrieve and change information in MBeans in an agent.