Thank you for clarification! I understand, that Event can not enforce a serializability contract of its payload like dedicated classes (org.eclipse.ecf.remoteservice.eventadmin.EventMessage), but these will apparently some day become part of the standard ..
Best regards Jaroslav On 06/13/2012 09:04 PM, David Bosschaert wrote:
Hi Jaroslav, There is currently some work going on in the Core Platform Expert Group in relation to representing framework information in Data Transfer Objects (which would be trivial to serialize), I guess this could also relate to events. This work is done in RFC 185. Additionally the EEG is considering to work on a Distributed Event Admin Service. This work hasn't started yet, but expect an RFP in the not too distant future. Best regards, David On 13 June 2012 11:06, Jaroslav Pullmann <[email protected]> wrote:Dear contributors, there was an interesting discussion regarding the (missing) serializability of events in OSGi, particulary of the BundleEvent. As Martin pointed out [1] its is the org.osgi.service.event.Event not being serializable at all, which is really cumbersome. There were no reactions to his post at that time, and I wonder when this obsolate limitation will change and the Event class become Serializable ? OSGi version 4.2 has introduced the Map API as property holder, rendering the usage of the (non-serializable) Dictionary class unnecessary. Are there plans to remove this deprecated class from the spec in favor of making Events serializable ? Best regards Jaroslav [1] http://www.mail-archive.com/[email protected]/msg02111.html -- Jaroslav Pullmann Fraunhofer Institute for Applied Information Technology FIT Web Compliance Center: http://imergo.com/ · http://imergo.de/ Schloss Birlinghoven, D-53757 Sankt Augustin, Germany Phone: +49-2241-142623 · Fax: +49-2241-142065 _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
-- Jaroslav Pullmann Fraunhofer Institute for Applied Information Technology FIT Web Compliance Center: http://imergo.com/ · http://imergo.de/ Schloss Birlinghoven, D-53757 Sankt Augustin, Germany Phone: +49-2241-142623 · Fax: +49-2241-142065 _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
