There is no plan to make Event implement Serializable. The spec allows any object type in an Event including non-serializable types.
-- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [email protected] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Jaroslav Pullmann <[email protected]> To: [email protected], Date: 2012/06/13 06:16 Subject: [osgi-dev] Will org.osgi.service.event.Event become serializable ? Sent by: [email protected] 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
