PicoContainer
  1. PicoContainer
  2. PICO-26

Support for MapPicoContainer and patches to support multiple implementations

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      3

      Description

      Here's a patch which implements a MapPicoContainer to support registering of components in a PicoContainer.

      There are some minor patches to AggregateContainersContainer to make it easier to reuse.

      1. patch.txt
        19 kB
        james strachan
      2. patch.txt
        8 kB
        james strachan
      3. patch.txt
        11 kB
        james strachan

        Activity

        Hide
        james strachan added a comment -

        Here's the patch. It also includes an Eclipse project file which you can ignore if you wish together with a minor patch to maven.xml which seems to fix the build on 1.0 b9 which again by all means ignore. Its the Java code changes in src/test and src/java that are important.

        Show
        james strachan added a comment - Here's the patch. It also includes an Eclipse project file which you can ignore if you wish together with a minor patch to maven.xml which seems to fix the build on 1.0 b9 which again by all means ignore. Its the Java code changes in src/test and src/java that are important.
        james strachan made changes -
        Field Original Value New Value
        Attachment patch.txt [ 10450 ]
        Hide
        james strachan added a comment -

        Here's a later patch which includes 100% coverage of aggregated and map packages

        Show
        james strachan added a comment - Here's a later patch which includes 100% coverage of aggregated and map packages
        james strachan made changes -
        Attachment patch.txt [ 10452 ]
        Hide
        james strachan added a comment -

        Doh! Previous patches didn't include the new source files.

        Sorry for this. This new patch includes all the others and includes the new Java files and JUnit test cases with 100% test coverage on the aggregate and map packages.

        The included MapPicoContainer behaves like a keyed registry container.

        Show
        james strachan added a comment - Doh! Previous patches didn't include the new source files. Sorry for this. This new patch includes all the others and includes the new Java files and JUnit test cases with 100% test coverage on the aggregate and map packages. The included MapPicoContainer behaves like a keyed registry container.
        james strachan made changes -
        Attachment patch.txt [ 10453 ]
        Hide
        james strachan added a comment -

        Please close this issue now

        Show
        james strachan added a comment - Please close this issue now
        Aslak Hellesøy made changes -
        Resolution Won't Fix [ 2 ]
        Status Unassigned [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            james strachan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: