Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-279

Allowing Multiple Converters Per Destination Class

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.7.0
    • 2.0.0
    • None

    Description

      Currently only one Converter may be registered per destination class. It may be prudent for an application to have the ability to use multiple "named" Converter instances to convert values to a destination type. By adding a second-level Map keyed by Converter name, this can be accomplished without affecting existing behavior. A "default" name is used for the default Converter which will allow for emulation of the previous single Converter implementation.

      Patch files for both BeanUtils 1.7.0 and the current Head revision of the affected files has been provided.

      Attachments

        1. ConvertUtils-1.7.0-patch.tgz
          3 kB
          Bradley M. Handy
        2. ConvertUtils-20070519-patch.tgz
          3 kB
          Bradley M. Handy

        Activity

          People

            Unassigned Unassigned
            bhandy Bradley M. Handy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: