Operational Management
The AdminClient Interface
Because you're writing a client program, you need a connection to the desired server and you need a means to invoke methods on remote MBeans. The AdminClient interface provides these capabilities. When an AdminClient object is created, it provides a proxy to the remote AdminService object through one of the supported JMX connectors. As a proxy to the remote AdminService, the AdminClient also reflects the MBeanServer interface. However, the AdminClient does not include methods of the MBeanServer that are not applicable on the client side of the connection.
Use the following code to create an AdminClient object that is connected to a server:
Properties clientProps = new Properties(); clientProps.setProperty(AdminClient.CONNECTOR_TYPE, ...
Get IBM® WebSphere® System Administration now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.