Nikita Timofeev created CAY-2692:
------------------------------------
Summary: Add entity lifecycle callbacks via annotated methods
Key: CAY-2692
URL: https://issues.apache.org/jira/browse/CAY-2692
Project: Cayenne
Issue Type: Improvement
Components: Core Library
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
Fix For: 4.2.M3
To implement callback user needs the following:
* add a callback method to the entity in the modeler
* generate classes
* implement actual callback
With annotated methods, users could skip right to the third point.
Moreover, we already have lifecycle listeners that use annotations, so
implementation should be straightforward.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)