I had previously raise a bug report that the PropertyUtils class doesn't recognise "normal" properties on a DynaBean (see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17036). This has been closed without action for very valid reasons, however, I am sill after a mechanism to access bean properties that are methods and not just object instances (as is the current BasicDynaBean implementation).
As an example, I may wish to have a method such as public Long getUpTime() (which has to calculate its result) and access this method from the PropertyUtils class. I believe that this could be done by modifying the BasicDynaBean implementation or by creating a DynaBean implementation to allow for the registration of a user defined getter and setter methods for individual properties. This mechanism would not break any current DynaBean and PropertyUtils implementations. Gavin McPhee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
