public class JMXInventoryManager extends InventoryManager<JMXResourceType,JMXMetricType,JMXAvailType,JMXOperation,JMXResourceConfigurationPropertyType,JMXResource,JMXEndpoint>
| Constructor and Description |
|---|
JMXInventoryManager(String feedId,
MetadataManager<JMXResourceType,JMXMetricType,JMXAvailType,JMXOperation,JMXResourceConfigurationPropertyType> metadataManager,
ResourceManager<JMXResource> resourceManager,
ManagedServer managedServer,
JMXEndpoint dmrEndpoint,
JmxClientFactory jmxClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverResources(org.jgrapht.event.VertexSetListener<JMXResource> listener)
Populate the inventory with resources that can be automatically discovered.
|
JmxClientFactory |
getJmxClientFactory() |
getEndpoint, getFeedId, getManagedServer, getMetadataManager, getResourceManagerpublic JMXInventoryManager(String feedId, MetadataManager<JMXResourceType,JMXMetricType,JMXAvailType,JMXOperation,JMXResourceConfigurationPropertyType> metadataManager, ResourceManager<JMXResource> resourceManager, ManagedServer managedServer, JMXEndpoint dmrEndpoint, JmxClientFactory jmxClientFactory)
public void discoverResources(org.jgrapht.event.VertexSetListener<JMXResource> listener)
InventoryManagerMetadataManager.getResourceTypeManager()) will be discovered.
Once this returns successfully, InventoryManager.getResourceManager() should be populated with resources.discoverResources in class InventoryManager<JMXResourceType,JMXMetricType,JMXAvailType,JMXOperation,JMXResourceConfigurationPropertyType,JMXResource,JMXEndpoint>listener - if not null, will be a listener that gets notified when resources are discoveredpublic JmxClientFactory getJmxClientFactory()
Copyright © 2015 Red Hat, Inc.. All rights reserved.