}
}
}
if (gangliaMap.size() > 0) {
GangliaPropertyProvider gpp = type.equals (Resource.Type.Component) ?
new GangliaComponentPropertyProvider(gangliaMap,
streamProvider, sslConfig, gangliaHostProvider,
clusterNamePropertyId, componentNamePropertyId) :
new GangliaHostComponentPropertyProvider(gangliaMap,
streamProvider, sslConfig, gangliaHostProvider,
clusterNamePropertyId, hostNamePropertyId, componentNamePropertyId);
gpp.populateResources(resources, request, predicate);
} else {
defaultGanglia.populateResources(resources, request, predicate);
}
if (jmxMap.size() > 0) {