> From: Neil Bartlett <[email protected]>
> Probably the best practical approach for now is to apply a 
> transformation at build time. This could be done with a bnd plugin 
> that inspects the annotations and generates entries in the manifest 
> and/or DS XML declaration to publish the annotated class as a 
> service with properties.

Yes, a bnd plugin like that could be used to decorate DS components marked 
with some annotation with some service property which a ServiceTracker 
could then track upon.

-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[email protected]

office: +1 386 848 1781
mobile: +1 386 848 3788
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to