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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2016/05/20 12:08:13 UTC

[jira] [Closed] (JAMES-1741) Some objects are not binded into scope singleton

     [ https://issues.apache.org/jira/browse/JAMES-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit closed JAMES-1741.
---------------------------------

> Some objects are not binded into scope singleton 
> -------------------------------------------------
>
>                 Key: JAMES-1741
>                 URL: https://issues.apache.org/jira/browse/JAMES-1741
>             Project: James Server
>          Issue Type: Improvement
>          Components: guice
>            Reporter: Tellier Benoit
>
> This is for example the case for CassandraMailboxSessionMapperFactory
> Cassandra mailbox is annotated with @Singleton annotations. We should move all the Guice concerns in the Guice modules.
> We should also diagnose if some other object / part of the code are not binf in the scope singleton while they shoud.
> Acceptance criteria :
>  - Give an exhaustive list of components not binded in scope singleton
>  - Give a list of Guice related annotations outside of Guice modules
>  - No more Guice related @Singleton outsideof Guice modules
>  - Bind everything that makes sens in scope singleton inside the Guice modules



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org