Re: [jira] Closed: (CAY-1261) Auto-inject values in NEW objects with declared qualifiers

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Aug 18 2009 - 08:53:09 EDT

  • Next message: Andrus Adamchik: "published snapshots from trunk"

    True... The implementation of the client callbacks would require
    considering various scenarios. At the minimum we will need a way to
    specify callbacks/listeners separately on the client and the server
    (e.g. it probably wouldn't make sense to init the same default values
    in pre-persist first on the client, and later on the server; or if the
    server does some audit recordings on commit, the same processing is
    meaningless on the client). Another elephant in the room is callbacks
    in locally nested contexts... So some food for thought.

    Andrus

    On Aug 18, 2009, at 3:41 PM, Andrey Razumovsky wrote:

    > I think we sould first then do something with lifecycles on ROP
    > client..
    > There are none yet, and e.g. injection works on client
    >
    > 2009/8/18 Andrus Adamchik <andru..bjectstyle.org>
    >
    >> BTW, wonder if we could introduce our own internal lifecycle
    >> listeners for
    >> processing of objects similar to this case (a pre-persist listener on
    >> CayenneDataObject). Seems like a rather flexible approach. Just an
    >> idea
    >> anyways...
    >>
    >> Andrus
    >>
    >>
    >>
    >> On Aug 18, 2009, at 3:28 PM, Andrus Adamchik wrote:
    >>
    >>
    >>> On Aug 18, 2009, at 3:20 PM, Aristedes Maniatis wrote:
    >>>
    >>> This is a very interesting feature.
    >>>>
    >>>
    >>> Yeah, big +1 from me as well. It was one of the top items on my
    >>> list of
    >>> things I want to see in Cayenne. Kudos to Andrey for making it a
    >>> reality.
    >>>
    >>> Andrus
    >>>
    >>>
    >>>
    >>



    This archive was generated by hypermail 2.0.0 : Tue Aug 18 2009 - 08:53:44 EDT