Lifecycle callback API changes

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Feb 15 2007 - 13:54:20 EST

  • Next message: Øyvind Harboe: "Re: Problem with DataPort & Tomcat"

    Note to the users of much advertised, but not yet officially released
    lifecycle callback API. There were some changes to simplify listener
    registration (and to make backend more consistent). Check out the
    updated documentation page:

    http://cayenne.apache.org/doc/lifecycle-callbacks.html

    Summary of changes:

    * Listeners are registered via a new class LifecycleCallbackRegistry
    attached to EntityResolver.
    * There is a new optional LifecycleListener interface to simplify the
    registration and to make it type-safe.

    Still no Modeler support, although we got very close to implementing
    it: DataMap can store and save listeners, but we need to add the
    actual UI.

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Feb 15 2007 - 13:55:04 EST