Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-687

BXMLSerializer, would like to be able to specify a classloader for loading custom components

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: core-beans
    • Labels:
      None
    • Environment:
      all

      Description

      I'm running into issues trying to load my pivot window into a swing application. Some background,
      since pivot 2.0 can load components into a swing application, I've been trying to integrate pivot into a netbeans platform application.
      Only been at it a couple of hours but I'm stuck on an class loader issue. Basically, because I have pivot wrapped in separate module it's classloader
      can't references classes in any modules that depend on it. See here:
      http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#loader-hier

      I looked briefly in the docs but I'm not sure if I missed a readObject() signature that will allow me to pass in the classloader to use when de-serializing.

        Attachments

        1. patch2.patch
          3 kB
          Sandro Martini
        2. patch.patch
          1 kB
          Sandro Martini

          Issue Links

            Activity

              People

              • Assignee:
                smartini Sandro Martini
                Reporter:
                gbivins GBivins
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: