Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3814

Allow ServiceProviderFinder to be initialized at startup

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • JSR-344
    • None

    Description

      The code inside ServiceProviderFinder usually involves classpath scanning and read files from different locations. That code is ok, but it would be great if we can put that into FacesConfig as a configuration information.

      The idea is just list all SPI interfaces we are using in MyFaces Core, and do the scanning of everything we need right at startup and finally store that information into FacesConfig, just like it was done for Facelet tag lib configuration.

      If FacesConfig is serialized and deserialized, that scanning will not be necessary and the startup will be faster.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: