james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1741) Some objects are not binded into scope singleton
Date Thu, 19 May 2016 08:47:13 GMT
Tellier Benoit created JAMES-1741:

             Summary: 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

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

View raw message