You would need to write your own Metatype Service implementation (eg. by 
deriving from the Equinox implementation) to suppory your custom 
extensions.
-- 

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




From:
Ali Naddaf <[email protected]>
To:
Equinox development mailing list <[email protected]>
Date:
2009/10/24 23:50
Subject:
[equinox-dev] MetaType Service
Sent by:
[email protected]



Hello everyone.

I like to use the MetaType service but need to add some extra 
"attributes" to the AD element of the xml descriptor. Looking at the 
schema, it seems that it permits such extensions (it has <anyAttribute/> 
in the complex type definition for the AD type) but if I do so, how can 
I use the MetaType service to retrieve these extra attributes? Is there 
in that service an API that returns something like a Map for the 
attributes? I couldn't find one.

Many thanks,
Ali.
_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to