Re: Weak References

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Jul 14 2010 - 12:53:26 UTC

  • Next message: Michael Gentry: "Re: Weak References"

    On Jul 14, 2010, at 3:44 PM, Michael Gentry wrote:

    > Is it always safe to call
    > foo.getObjectContext() later and get that DC?

    Yes. DataObject has a regular hard reference to its context. The only
    caveat that it is also a transient reference, so after serialization/
    deserialization cycle the context gets nullified.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Jul 14 2010 - 12:54:00 UTC