XStream
  1. XStream
  2. XSTR-415

Let JavaBeanConverter use bean introspection

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Converters
    • Labels:
      None

      Description

      Currently the JavaBeanConverter uses reflection. Maybe it's better to use bean introspection. The attached patch changes BeanProvider, so that it uses bean introspection.

      Maybe it's better to add a setBeanProvider info to the JavaBeanConverter in order to support other (custom) BeanProviders.

      1. BeanWithBeanInfoConverter.java
        15 kB
        Jim Redman
      2. patch.txt
        6 kB
        Hinse ter Schuur

        Issue Links

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Hinse ter Schuur
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: