Uploaded image for project: 'CloverDX'
  1. CloverDX
  2. CLO-6511

New execution flag to allow reusing classloaders

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: rel-4-1-0
    • Component/s: Server
    • Security Level: Users (General product issues)
    • Labels:
    • QA Testing:
      UNDECIDED

      Description

      By default new Classloaders for transformations (Reformat, Joiners, ...) are created for each graph executions, even each component has own ClassLoader to load transformation class. This behaviour can be inconvenient for example if you want to share POJO between components. For example, a Reformat component creates an object (from a jar file on runtime classpath) and stores it into dictionary. Another Reformat component get the object from the dictionary and tries to cast to expected class. ClassCastException is thrown due different classloaders used in the Reformat components.

      New execution flag should allow to share classloaders between components (Reformats and others) even between different graphs.

        Attachments

          Activity

            People

            Assignee:
            zatopekm Martin Zatopek
            Reporter:
            zatopekm Martin Zatopek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 30 minutes
                5h 30m