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

DataDomain.addListener(Object) - a shortcut for adding annotated listeners

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.M1
    • None
    • None

    Description

      This is a bit unwieldy:

      runtime.getDataDomain().getEntityResolver().getCallbackRegistry().addListener(listener);

      let's shorten it a bit for the most common case - annotated listeners:

      runtime.getDataDomain().addListener(listener);

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: