cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1820) DataDomain.addListener(Object) - a shortcut for adding annotated listeners
Date Sat, 18 May 2013 13:31:16 GMT

     [ 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

Mime
View raw message