2009/11/15 John E. Conlon <[email protected]>

> How does the Config Admin deal with type conversion between the properties
> oriented *.cfg files (storing Strings) and the updated configurations that
> are sent by the service that may be a non String (Integer, Boolean, etc)?
>
> Have worked with another framework that use the Metatype service for this
> kind of conversion, but I am not aware that Felix has a Metatype service??
> Without a Metatype service in Felix, do I have to manage the conversion for
> all non Strings myself?
>

FYI, Felix does have a metatype service:

   http://felix.apache.org/site/apache-felix-metatype-service.html

   http://www.apache.org/dist/felix/org.apache.felix.metatype-1.0.4.jar

also you can often mix service bundles between frameworks - for example,
there is nothing Felix specific (afaik) about its metatype implementation so
you could deploy it onto any other OSGi framework (equinox, KF, etc.)

the same is true for most OSGi services, so feel free to mix'n'match

thanks,
>
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Cheers, Stuart

Reply via email to