Re: Injecting dependencies into Cayenne objects

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat May 28 2005 - 15:42:14 EDT

  • Next message: Andrus Adamchik: "Re: Relationships between DataMaps in the same DataDomain"

    On May 27, 2005, at 6:42 PM, Joel Trunick wrote:

    >
    > Has anyone injected dependencies into a Cayenne object using Hivemind,
    > Spring, etc.? Or, alternatively, is there a instance factory in Cayenne
    > that can be substituted?
    >
    > It seems natural for Cayenne since it naturally supports a rich domain
    > model.
    >
    > Joel

    Joel,

    1.2 will soon support a factory for custom DataContexts. This can be
    used as a starting point for DataObject "injection", as new or fetched
    objects always pass through DataContext before the user can access
    them.

    Andrus



    This archive was generated by hypermail 2.0.0 : Sat May 28 2005 - 15:42:20 EDT