Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1741

Some objects are not binded into scope singleton

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • guice
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: