Hi all,

The Converter API was recently discussed in the OSGi Expert Groups and
based on the feedback the API has been refactored a bit.
One change is how the converter is obtained in a standard way. Previously
this was done by calling ConverterFactory.standardConverter() but this is
now done by calling 'new StandardConverter()'.
The converter can be used inside an OSGi framework but also outside of OSGi
in the same way. This follows a pattern used by the OSGi Promises as well.
The Codecs will remain an OSGi service (also obtainable via
ServiceLoader.load()) but they are renamed to 'Serializer'.
I've made these changes to the Felix Converter codebase.

This is a component that is still very much under development until the
OSGi R7 specs are released so changes like this can happen. For those who
already use the convert it should not be too hard to update their code -
hopefully :)

Cheers,

David

Reply via email to