cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Lifecycle callback API changes
Date Thu, 15 Feb 2007 18:54:20 GMT
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

Mime
View raw message