Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-551

Make data type conversions extensible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 2.0
    • Type conversion
    • None

    Description

      So far, a fix set of data type conversions is supported. Some are available directly in the Configuration interface (especially for primitive and standard Java types), others are provided by DataConfiguration. Currently, it is not easy possible for client applications to customize type conversions or add new converters.

      I am not sure whether we should go so far to implement yet another framework with type converters; at least not directly for version 2.0. However, there should be at least possibilities to hook into the conversion mechanism. Ideally, I would like to have a simple facade handling the different kinds of conversions. By providing alternative implementations, client applications should be able to adapt type conversions or even plug in a different conversion framework, e.g. Commons Beanutils.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: