public Collection<Capability> findProviders(Requirement req) {
String namespace = req.getNamespace();
List<Capability> result = new ArrayList<Capability>();
if (MODULE_IDENTITY_NAMESPACE.equals(namespace)) {
String strval = (String) req.getAttributes().get(MODULE_IDENTITY_NAMESPACE);
ModuleIdentifier moduleIdentifier = ModuleIdentifier.fromString(strval);
try {
File contentFile = getRepositoryEntry(bundlesDir, moduleIdentifier);
if (contentFile != null) {
URL baseURL = bundlesDir.toURI().toURL();
String contentPath = contentFile.toURI().toURL().toExternalForm();