You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/05/18 15:31:16 UTC

[jira] [Closed] (CAY-1820) DataDomain.addListener(Object) - a shortcut for adding annotated listeners

     [ https://issues.apache.org/jira/browse/CAY-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1820.
--------------------------------

    Resolution: Fixed
    
> DataDomain.addListener(Object) - a shortcut for adding annotated listeners
> --------------------------------------------------------------------------
>
>                 Key: CAY-1820
>                 URL: https://issues.apache.org/jira/browse/CAY-1820
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.2M1
>
>
> 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);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira