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 should be the owner of EntitySorter. DataNode.entitySorter should
be removed (with deprecation)
2. EntitySorter must 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).
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/%[email protected]%3e
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.