[ 
https://issues.apache.org/jira/browse/JAMES-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532042
 ] 

Stefano Bagnara commented on JAMES-819:
---------------------------------------

James block currently implements "mailServer".
getUserInbox is a method of the mailServer service and is used also by the 
ToMultiRepository mailet.

Do you plan to introduce a new Service interface to be implemented by a new 
component or to split James component moving the MailServer implementation to 
another component?

> Extract logic for selecting inboxes into separate class
> -------------------------------------------------------
>
>                 Key: JAMES-819
>                 URL: https://issues.apache.org/jira/browse/JAMES-819
>             Project: James
>          Issue Type: Improvement
>          Components: James Core
>            Reporter: Bernd Fondermann
>            Assignee: Bernd Fondermann
>            Priority: Minor
>
> James.java class is overloaded with too many concerns. One is the logic for 
> selecting an inbox from a username (getUserInbox()).
> This would be moved into a new class MailboxSelector. It would handle 
> loading, resolving and caching mailboxes.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to