Hi David,

I'm wondering how the org.osgi.core class sharing is supposed to work with this. If the AS7 internal framework is getting those types from the org.osgi.core module and the launcher/client gets them from the syscp they cannot be assigned - so the client could not consume/provide those types through the framework API.


On 10/09/2012 09:57 AM, David Bosschaert wrote:

This can only be done with value types from the syscp, right?

Yes, correct.

This code should not not be needed
if (ctrl.getMode() == Mode.ACTIVE)
return ctrl.getValue();

I don't follow what you mean here? Where are you seeing that code? Or what is it a replacement for?

Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat