Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-601

Remove expensive object creation in PortletAppDescriptorServiceImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.3, 2.1.0-M1, 2.1.0
    • portlet container
    • None

    Description

      PortletAppDescriptorServiceImpl creates new JAXBContext, XMLInputFactory, DocumentBuilderFactory, and Pattern objects every time they are needed. All of these objects are thread-safe once created and configured and should only be created once at the class level and re-used for the life of the class.

      Attachments

        Activity

          People

            edalquist Eric Dalquist
            edalquist Eric Dalquist
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: