Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 7. Adaptor Clients | ![]() |
Java Dynamic Management provides adaptor clients for accessing m-beans through these protocols:
RMI
HTTP/TCP
HTTP/UDP
HTTP/SSL
IIOP
The RMI adaptor client enables a Java manager to access the RMI adaptor in an agent. The manager needs to instantiate and initialize the adaptor client. When initializing the adaptor client, the manager must provide the URL of the RMI adaptor. The default URL is: rmi://localhost:1099/com.sun.jaw.impl.adaptor.rmi.AdaptorServer.
The HTTP/TCP adaptor client enables a Java manager to access the HTTP/TCP adaptor server in an agent. The manager must instantiate and initialize the adaptor client. When initializing the adaptor client, the manager must provide the host name, port number, and object name of the HTTP/TCP adaptor server. If no port number is specified, the HTTP/TCP adaptor client uses the default, port 8081.
The HTTP/UDP adaptor client enables a Java manager to access the HTTP/UDP adaptor server in an agent. The manager must instantiate and initialize the adaptor client. When initializing the adaptor client, the manager must provide the host name, port number, and object name of the HTTP/UDP adaptor server. If no port number is specified, the HTTP/UDP adaptor client uses the default, port 8083.
The HTTP/SSL adaptor client enables a Java manager to access the HTTP/SSL adaptor server in an agent. The manager must instantiate and initialize the adaptor client. When initializing the adaptor client, the manager must provide the host name, port number, and object name of the HTTP/SSL adaptor server. If no port number is specified, the HTTP/SSL adaptor client uses the default, port 8084.
The IIOP adaptor client enables a Java manager to access the IIOP adaptor server in an agent. The manager must instantiate and initialize the adaptor client. When initializing the adaptor client, the manager must provide the host name on which the CORBA name service is running and the port number on which the name service listens, for example myHost:80. If no port number is specified, the IIOP adaptor uses the default, port 8085.
![]() | ![]() | ![]() |
Overview | ![]() | Initializing an Adaptor Client |