Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6251

ResourceOrigin should be injectable

XMLWordPrintable

      Now that MAGNOLIA-6220 is out of the way, info.magnolia.resourceloader.Origins could be a singleton - we currently inject it in a number of components, and due to it's builder nature, we're essentially recreating and re-scanning resources for each of these.

      It could potentially be implemented as a javax.inject.Provider<Origin> or a configurer.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR