You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/10/22 20:32:05 UTC
[jira] Commented: (JAMES-1074) Align packages hierarchy of the
services
[ https://issues.apache.org/jira/browse/JAMES-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923958#action_12923958 ]
Norman Maurer commented on JAMES-1074:
--------------------------------------
Hi Eric,
I don't agree 100% here. So here are my comments / concerns:
* core-api
I think I would let lifecycle and service in the module and just rename the packages, like:
org.apache.james.core.api
org.apache.james.core.api.lifecycle
repository should get moved to mail-api (even if its a bit strange as it is used by UsersFileRepository too, but I think we should get rid of the class anyway in the future)
* core-library
I think the MailImpl, MailHeaders etc belong in core. As they are "core" parts of James. So just move them to org.apache.james.core.lib
filepair should get moved to mail-library / mail-file, Constants to core-api. The only class in service is AbstractJSR250InstanceFactory which is only used for unit tests. So move it to core-api tests (its a kind of mock)
* core-function
Both implementations should stay there.. just rename package
> Align packages hierarchy of the services
> ----------------------------------------
>
> Key: JAMES-1074
> URL: https://issues.apache.org/jira/browse/JAMES-1074
> Project: JAMES Server
> Issue Type: Improvement
> Affects Versions: 3.0-M1
> Reporter: Eric Charles
> Assignee: Eric Charles
> Fix For: 3.0-M1
>
>
> We need to align package service hierarchy to have stable api, uniformity and osgi-deployable.
> For example, the proposed hierarchy for a "mail" service is:
> org.apache.james.mail.api (in the mail api project)
> org.apache.james.mail.lib (in the mail library project)
> org.apache.james.mail.jpa (in the mail jpa impl project)
> org.apache.james.mail.jcr (in the mail jcr impl project)
> ....
> The conf files and spring-beans.xml need to be updated according to the repackaging.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org