BundleEvent extends EventObject and thus implements Serializable [1], did you perhaps mean org.osgi.service.event.Event. Would be great to have org.osgi.service.event.Event serializable. I had some problems about this while implementing a remote event admin some time ago.

[1] http://www.osgi.org/javadoc/r4v43/org/osgi/framework/BundleEvent.html

Thanks,

Martin

Am 04.08.2011 17:08, schrieb [email protected]:

EventObject implements Serializable so any class extending it should be serializable as well. However, BundleEvent and others are not serialiable and as I understand are not intended to be.

Any chance the base class will change or am I stuck with this? I would rather not have special logic which ignore these types of object when sending them through RMI (or other times serializing is involved).

Thanks,

David Humeniuk



_______________________________________________
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

Reply via email to