public class JMXDiscovery extends Object
| Constructor and Description |
|---|
JMXDiscovery(JMXInventoryManager im)
Creates the discovery object for the given inventory manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discoverAllResources(org.jgrapht.event.VertexSetListener<JMXResource> listener)
Performs the discovery and stores the discovered inventory in this object's inventory manager.
|
public JMXDiscovery(JMXInventoryManager im)
JMXInventoryManager.getJmxClientFactory()).im - the inventory manager that holds information about the server to be queried and
the known types to be discoveredclientFactory - will create clients used to communicate with the endpointpublic void discoverAllResources(org.jgrapht.event.VertexSetListener<JMXResource> listener) throws Exception
listener - if not null, will be a listener that gets notified when resources are discoveredException - if discovery failedCopyright © 2015 Red Hat, Inc.. All rights reserved.