PicoContainer
  1. PicoContainer
  2. PICO-111

BeanPropertyComponentAdapterFactory does not support all primitve types

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-4
    • Fix Version/s: 1.0-beta-5
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      1

      Description

      BeanPropertyComponentAdapterFactory does not support all primitive types in the current version (to be more specific -> just boolean). I've extended the class so that it supports all primitive types and added a testcase for that.

      I addition to that I've added the functionality that you can set the key of a dependend component in the Map. If the container contains a component with that key and the types of the setter and the component are compatible, it will be set.

      Mirko

      1. patch.txt
        8 kB
        Mirko Novakovic

        Activity

        Mirko Novakovic made changes -
        Field Original Value New Value
        Attachment patch.txt [ 11299 ]
        Hide
        Aslak Hellesøy added a comment -

        Applied, and added support for java.io.File and java.net.URL.

        Show
        Aslak Hellesøy added a comment - Applied, and added support for java.io.File and java.net.URL.
        Aslak Hellesøy made changes -
        Resolution Fixed [ 1 ]
        Assignee Aslak Hellesoy [ rinkrank ]
        Fix Version/s 1.0-beta-5 [ 10145 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Aslak Hellesøy
            Reporter:
            Mirko Novakovic
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: