ok...in the class "ConvertedResource" line 41 I found following code:
...
// convert capabilities
org.osgi.service.obr.Capability[] c = resource.getCapabilities();
if (c != null) {
capabilities = new Capability[c.length];
for (int i = 0; i < c.length; i++) {
CapabilityImpl cap = new CapabilityImpl(c[i].getName());
Iterator iter = c[i].getProperties().entrySet().iterator();
int j = 0;
while (iter.hasNext()) {
Map.Entry entry = (Map.Entry) iter.next();
cap.addProperty((String) entry.getKey(), null, (String)
entry.getValue());
}
capabilities[i] = cap;
}
}
...
That's exactly what I want.
Is it maybe possible to implement a so-called Class "ConvertedCapability"
which wraps the osgi capability to apache felix capability?
Thx
Roland
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004649.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]