Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8020324

Object.bindProperties(target, source) does not work when source object is a java bean

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • core-libs
    • None
    • b100
    • generic
    • generic
    • Verified

    Description

      Object.bindProperties extension allows a source object's properties to be bound to a target object. Two-way updates b/w bound properties are supported. It'd be nice Object.bindProperties(target, source) supports source objects that are general Java bean objects. The usual bean-style properties (get/setFoo, isFoo) could be bound to a script object. For example, this would be useful for script engine embedders who would want to expose Java object's properties as global variables

      Attachments

        Issue Links

          Activity

            People

              attila Attila Szegedi
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: