Hello ~
I'm working on implementing OBR (RFC-0112) on Concierge, an R3
framework. The R4 class org.osgi.framework.Version is part of the
implementation. In my current setup I'm referencing all
org.osgi.framework.* classes from the R3 OSGi.jar bundle. In the R3
spec in section 4.4 it is stated "...the Framework must ensure that
all import-
ers of a class in an exported package use the same classloader to load
that
class or interface." If I add my own Version class in another bundle
it is not resolved by client bundles. Assuming this is the reason, my
strategy going forward could be:
1. Modify the interfaces such that my Version class uses a different
namespace.
2. Backport Version into the R3 OSGi jar used in my runtime environment.
3. Build a custom OBR-like system for our R3 runtime.
None of these solutions really appeal to me as each one has
significant negatives. Is there something I'm missing? Any other
suggestions?
Thanks in advance,
ken
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev