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-1479) EntitySorter refactoring: make it DI-based, internalize Ashowood lib
Date Mon, 30 Aug 2010 18:11:54 GMT

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

Andrus Adamchik closed CAY-1479.
--------------------------------

    Resolution: Fixed

> EntitySorter refactoring: make it DI-based, internalize Ashowood lib
> --------------------------------------------------------------------
>
>                 Key: CAY-1479
>                 URL: https://issues.apache.org/jira/browse/CAY-1479
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M1
>
>
> This issue is about performing a long-standing refactoring task of EntitySorter:
> 1. DataDomain will be the only owner of EntitySorter. DataNode.entitySorter will be removed
> 2. EntitySorter will be injected in DataDomain via DI
> 3. Ashwood library will be internalized by Cayenne, reducing its size to just the classes
that we use. This will allow us to make changes to the library if we need to (e.g. to use
DbEntities directly instead of converting them to Ashwood tables), remove 1 dependency from
Cayenne, and reduce the overall size (as Ashwood has lots of things that we never use). 
> 4. AshwoodEntitySorter implementation will be switched to double check lock to avoid
synchronization on every commit.
> I ran this by legal-discuss some time ago (message ID 35B7E0DC-A745-450F-A2C5-C72F8FA98C29),
and looks like there are no legal problems in doing that:
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/201002.mbox/%3CB8344125-3837-401A-8153-8DC8ED5271DD@apache.org%3E
> (on source headers) 
> http://www.apache.org/legal/src-headers.html#faq-moveothercopyright

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message