> From: Raymond Auge <[email protected]>
> 
> Is it possible to "extend" the default behaviours of DS?

Well you could fork and modify an open source DS impl. But be careful to 
avoid breaking the laziness of DS by early class loading.

> 
> If so then I could just extend the functionality to simple add a 
> "property" of 
> 
> annotation=Annotation[] 
> 
> which my own tracker could then use to filter.
> 
> This would clear developers of having to add yet more, redundant, 
> metadata to their classes.

Well, as Neil mentioned, you could write a bnd plugin which understood you 
annotation and modified the DS xml to add the property. I think the 
property value would be in the form of an array of annotation names and 
not class objects since you can't put class objects in an xml file :-)
-- 

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