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 "Bernd Fondermann (JIRA)" <se...@james.apache.org> on 2007/10/03 10:46:50 UTC

[jira] Created: (JAMES-819) Extract logic for selecting inboxes into separate class

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


[jira] Commented: (JAMES-819) Extract logic for selecting inboxes into separate class

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (JAMES-819) Extract logic for selecting inboxes into separate class

Posted by "Bernd Fondermann (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Fondermann updated JAMES-819:
-----------------------------------

    Assignee:     (was: Bernd Fondermann)

> Extract logic for selecting inboxes into separate class
> -------------------------------------------------------
>
>                 Key: JAMES-819
>                 URL: https://issues.apache.org/jira/browse/JAMES-819
>             Project: JAMES Server
>          Issue Type: Improvement
>          Components: James Core
>            Reporter: 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-819) Extract logic for selecting inboxes into separate class

Posted by "Bernd Fondermann (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532044 ] 

Bernd Fondermann commented on JAMES-819:
----------------------------------------

No, I am only planning to separate the concerns on the class level, not on a service level.
No interface changes, just concentrating the logic a bit.


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