Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2692

Add entity lifecycle callbacks via annotated methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.M3
    • Component/s: Core Library
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              ntimofeev Nikita Timofeev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: