O
Olaf Klischat
When providing a BeanInfo for a Java bean, is it possible to only
provide a single custom PropertyDescriptor for one of the (dozens of)
properties of the bean, and fall back to the JRE's default reflection
discovery for all other properties?
When looking at the BeanInfo spec, it seems to me that you can only
either use the default discovery for all the properties or provide
custom descriptors for all the properties; there appears to be no API to
explicitly invoke the JRE's reflective property discovery and then
replace just one of the resulting PropertyDescriptors with your own one.
provide a single custom PropertyDescriptor for one of the (dozens of)
properties of the bean, and fall back to the JRE's default reflection
discovery for all other properties?
When looking at the BeanInfo spec, it seems to me that you can only
either use the default discovery for all the properties or provide
custom descriptors for all the properties; there appears to be no API to
explicitly invoke the JRE's reflective property discovery and then
replace just one of the resulting PropertyDescriptors with your own one.