Fantastic, thanks for the quick response. Cheers, Colin
On 24/05/07, BJ Hargrave <[EMAIL PROTECTED]> wrote:
You can use any object type. The spec recommedation was just to use easily marshallable types for out-of-process bridges. -- 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 "Colin Fleming" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 2007-05-24 11:54 Please respond to OSGi Developer Mail List <[email protected]> To [email protected] cc Subject [osgi-dev] Arbitrary objects as event properties? Hi all, I'm looking at modifying part of our system to use OSGi events. We're concerned about the part of the spec that states that event properties should only be primitive types. Quote: "Other types cannot be passed to handlers that reside external from the Java VM". Is this talking about handlers in native code or in other VMs? Since OSGi only runs in a single VM, any event passing between framework instances will have to happen over some sort of network bridge written by us anyway - if we can correctly serialise properties which are arbitrary objects in this case and we're not using any native code is it safe to pass arbitrary objects? Thanks, Colin _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
