dependencies.add(new ModuleDependency(null, depId, false, false, false, false));
}
// Add dependencies on all modules this brev has a wire to
for (BundleWire wire : wires) {
XBundleRevision provider = (XBundleRevision) wire.getProvider();
ModuleIdentifier providerid = provider.getModuleIdentifier();
dependencies.add(new ModuleDependency(null, providerid, false, false, false, false));
}
ModuleIdentifier identifier = brev.getModuleIdentifier();
return ModuleLoadService.install(serviceTarget, identifier, dependencies);