Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-694

Automatically verify in the build that the component threading model is explicitly declared

    XMLWordPrintable

Details

    • N/A

    Description

      A component should declare whether it's a @Singleton or @InstantiationStrategy(ComponentInstantiationStrategy.PER_LOOKUP)

      Even though XWiki defaults to @Singleton, this is not what the JSR330 (atinject) specifies and thus in order to be compliant in the future we need to first start using @Singleton everywhere.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: