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

Remove expensive object creation in PortletAppDescriptorServiceImpl

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3, 2.1.0-M1, 2.1.0
    • Component/s: portlet container
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: