[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] MetaType Service

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

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

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

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,
equinox-dev mailing list