>> do you have a link where such a concept is defined in context of the >> new DS specification? using the same concept as a (new) DS version >> would be plus. >Sure, the spec can be found here >https://github.com/osgi/design/blob/master/rfcs/rfc0190/rfc-0190- >Declarative_Services_Enhancements.pdf
cool. chapter 5.6 precisely describes the supported types and coercion rules, we should implement it exactly the same way. in my view this decides whether to use a plain interface or an annotation type - do it the same way as DS (will be) doing it: with annotation types. stefan