MetaType Service

View: New views
2 Messages — Rating Filter:   Alert me  

MetaType Service

by Ali Naddaf-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: MetaType Service

by BJ Hargrave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
hargrave@...

office: +1 386 848 1781
mobile: +1 386 848 3788




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





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
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev


_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev