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