>>> It can provide both. We recently clarified the Metatype spec for R6 to >>> more clearly state that a bundle can provide both metatype resources >>>and >>> MetaTypeProvider services. The spec is clarified to say that if the >>>bundle >>> provides metatype resources, then a MetaTypeService implementation must >>> not look for ManagedService/ManagedServiceFactory services that are >>> instances of MetaTypeProvider (and, of course, not registered as >>> MetaTypeProvider services.)
I¹m confused, you say a bundle can provide both, then go on to say if a bundle provides resources the service should not look for instances of MetaTypeProvider services. Are you saying that previously it was possible, but is no longer allowed in R6? Either way the current implementation from Apache Felix doesn¹t allow this. I have a workaround to register my MetaTypeProvider with a dummy bundle, but that is definitely a hack. Thanks, Dave _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
