Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3577

Turn RequestHandler and LifecycleHandler into singletons

    XMLWordPrintable

Details

    Description

      We currently create new instances of RequestHandler and LifecycleHandler for each endpoint of each deployment, but there's no real reason for that as they really have no status (or in case of native the status really belongs to the endpoint itself). We should have singletons there, to save memory and also considering the lookup of the implementation to use through SPIProviderResolver is possibly expensive.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rhn-support-asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: