commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roshan A. Punnoose" <>
Subject RE: [BeanUtils] BeanUtils and Introspector
Date Wed, 19 Dec 2007 20:32:52 GMT

This is exactly what I have been looking for. I think the best course
would be to look into adding a BeanInfo class to the classloader or
using the Tuscany SDO impl.


-----Original Message-----
From: Ole Ersoy [] 
Sent: Wednesday, December 19, 2007 3:23 PM
To: Jakarta Commons Users List
Subject: Re: [BeanUtils] BeanUtils and Introspector

Just added a few comments to Simon's comments:

simon wrote:

> Note that this would allow you to dynamically add a property to *class
> Foo*, but not to an *instance* of class Foo. AFAIK that was simply
> expected by the javabeans spec designers and I doubt that will ever be
> possible.

The same is true for the instances of an EMF EClass.  You would have
to the EClass instance first, then use the EClass instance to create 
and instance of the Object the EClass instance represents.  Then you
use eGet and eSet to get and set the properties you added to the eClass.
it sounds like the two processes are very similar.  

I think Tuscany SDO supports
adding properties to an existing instance at runtime.  I think that is 
what the type being "Open" means...  There's more info here:

- Ole

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message