NanoContainer
  1. NanoContainer
  2. NANO-92

DefaultReflectionContainerAdapter needs to separate jars added by URL

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Consider ..

      rca.addClassLoaderURL("foo/foo.jar");
      rca.addClassLoaderURL("bar/bar.jar");
      rca.registerComponentImplementation("FooClass");

      then a ..

      Object o = rca.getPicoContainer().getComponentInstance("FooClass");

      .. the underlying impl should get the component from either foo.jar or bar.jar, but those two should not be in the same actual classloader. foo.jar comps and bar.jar comps should not see each other, but can only see the common parent. Should be quite simple to do.

        Activity

        Hide
        Paul Hammant added a comment -

        Fixed long ago.

        Show
        Paul Hammant added a comment - Fixed long ago.
        Paul Hammant made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul Hammant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 hours
              2h
              Remaining:
              Remaining Estimate - 2 hours
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified