exp = parser.parse(rq.getDirectives().get("filter"));
} else
exp = ((RequirementImpl) rq).getFilter();
for (ResourceImpl rs : getResources()) {
for (Capability cap : rs.getCapabilities(rq.getNamespace())) {
if (exp.eval(cap.getAttributes()))
providers.add(cap);
}
}
return providers;
}