Multiple references to the same object

I’m passing as method calls ManagedObject instance around, having done a get on the reference. I now find that one of the classes that does some processing on an object needs to store a reference to it. If I create another reference to it, does the reference point to the same instance of the object (I don’t mean in memory instance, I mean the same instance in the SGS datastore), and does this have any implications regarding updating the object using one reference whilst maybe using the original reference else where?

Thanks

Endolf

Yes.

All calls to create managed references off the same managed object produce a reference to the same object in the object store. Similarly all calls within the same task that do a managed reference get will return the same object.

It does what you would expect/want it to do, isn’t that nice? 8)

Excelent, thanks :slight_smile: