[ 
https://issues.apache.org/jira/browse/JAMES-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924149#action_12924149
 ] 

Norman Maurer commented on JAMES-1074:
--------------------------------------

Hi Eric.

* I still don't like the name of container-api etc. Maybe we should just create 
a module which is called lifecycle-api and but the lifecycle stuff in there ? 
Sounds more logic to me, because you could reuse JAMES stuff without an 
container at all.
* sure core is fuzzy but I just don't think the MailImpl should resist in a 
util package.. because its not a util at all. its an interface implementation. 
For MimeMessageWrapper etc I can see your point....
* about core-function you are right.. I still don't like how we use it and are 
open for other ideas.. I think the MailServer interface and implementation for 
example is mostly just something to access "configuration". The sendMail 
methods just calls the enqueue method of MailQueue so it could be removed 
(IMHO). getId() is only used by MailImpl which let me thing of moving it to 
there.
* About container-spring, I don't think we need to have a api equivalent for 
this. But maybe its just me ;)

Thx for your time..



> 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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to