public class DMRInventoryManager extends InventoryManager<DMRResourceType,DMRMetricType,DMRAvailType,DMROperation,DMRResourceConfigurationPropertyType,DMRResource,DMREndpoint>
| Constructor and Description |
|---|
DMRInventoryManager(String feedId,
MetadataManager<DMRResourceType,DMRMetricType,DMRAvailType,DMROperation,DMRResourceConfigurationPropertyType> metadataManager,
ResourceManager<DMRResource> resourceManager,
ManagedServer managedServer,
DMREndpoint dmrEndpoint,
ModelControllerClientFactory dmrClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverResources(org.jgrapht.event.VertexSetListener<DMRResource> listener)
Populate the inventory with resources that can be automatically discovered.
|
ModelControllerClientFactory |
getModelControllerClientFactory() |
getEndpoint, getFeedId, getManagedServer, getMetadataManager, getResourceManagerpublic DMRInventoryManager(String feedId, MetadataManager<DMRResourceType,DMRMetricType,DMRAvailType,DMROperation,DMRResourceConfigurationPropertyType> metadataManager, ResourceManager<DMRResource> resourceManager, ManagedServer managedServer, DMREndpoint dmrEndpoint, ModelControllerClientFactory dmrClientFactory)
public void discoverResources(org.jgrapht.event.VertexSetListener<DMRResource> listener)
InventoryManagerMetadataManager.getResourceTypeManager()) will be discovered.
Once this returns successfully, InventoryManager.getResourceManager() should be populated with resources.discoverResources in class InventoryManager<DMRResourceType,DMRMetricType,DMRAvailType,DMROperation,DMRResourceConfigurationPropertyType,DMRResource,DMREndpoint>listener - if not null, will be a listener that gets notified when resources are discoveredpublic ModelControllerClientFactory getModelControllerClientFactory()
Copyright © 2015 Red Hat, Inc.. All rights reserved.