> Can I assume that we only want to support the co-existence of 1.x and 2.x in > the same JVM under OSGi?
Safe assumption for now. > 1) Based on a special header in the OSGi MF, such as: > SCA-Spec-Version: 1.0 (for osoa) > SCA-Spec-Version: 1.1 (for oasis) > > 2) Based on an attribute of each entry in the META-INF/services/..., such as > <className>;version=1.0 > (Our 2.x ServiceDiscovery only supports LDAP style filtering) > > 1) Seems to be simpler and easier to control. We can always generate the > header. > We could certainly add a header in the build of the 1.x bundle easily enough. Simon
