You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by Aaron Zeckoski <az...@gmail.com> on 2008/04/28 09:58:26 UTC

(BEANUTILS-180-BETA) Access/configuration of PropertyUtilsBean caches

Apologies if this is the wrong list for this.

We have an extension to commons beanutils which allows us to make it
work with public fields as well (and a few other improvements we
needed like deep cloning). In 1.8.0-BETA it is easier to handle this
extension (thanks!) but it could be even easier if there was a way to
get and set the caches which are used for storing the
PropertyDescriptors. Just switching the type from FastHashMap to Map
and making a setter and getter which are publicly visible would be
enough to reduce our the work in extending this significantly.

I can submit a patch for this if that is the better way to go about it
but I thought I would see what people thought first. Would this be
generally useful?
Thanks
-AZ


-- 
Aaron Zeckoski (aaronz@vt.edu)
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

Re: (BEANUTILS-180-BETA) Access/configuration of PropertyUtilsBean caches

Posted by Aaron Zeckoski <aa...@vt.edu>.
Ok, I will repost over on dev list. Thanks, I am not familiar with the
list structure used here yet.
-AZ


On Mon, Apr 28, 2008 at 6:23 PM, Rahul Akolkar <ra...@gmail.com> wrote:
> On 4/28/08, Aaron Zeckoski <az...@gmail.com> wrote:
>  > Apologies if this is the wrong list for this.
>  >
>  <snip/>
>
>  Not a problem, but since you mention it, this list is generally
>  reserved for automated posts (such as those from the Apache Commons
>  issue tracker -- JIRA).
>
>  Better to use the dev list or JIRA itself for such posts.
>
>  -Rahul
>
>
>
>
>  >  We have an extension to commons beanutils which allows us to make it
>  >  work with public fields as well (and a few other improvements we
>  >  needed like deep cloning). In 1.8.0-BETA it is easier to handle this
>  >  extension (thanks!) but it could be even easier if there was a way to
>  >  get and set the caches which are used for storing the
>  >  PropertyDescriptors. Just switching the type from FastHashMap to Map
>  >  and making a setter and getter which are publicly visible would be
>  >  enough to reduce our the work in extending this significantly.
>  >
>  >  I can submit a patch for this if that is the better way to go about it
>  >  but I thought I would see what people thought first. Would this be
>  >  generally useful?
>  >  Thanks
>  >  -AZ
>  >
>  >
>  >
>  >  --
>  >  Aaron Zeckoski (aaronz@vt.edu)
>  >  Senior Research Engineer - CARET - Cambridge University
>  >  [http://bugs.sakaiproject.org/confluence/display/~aaronz/]
>  >  Sakai Fellow - [http://aaronz-sakai.blogspot.com/]
>  >
>



-- 
Aaron Zeckoski (aaronz@vt.edu)
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

Re: (BEANUTILS-180-BETA) Access/configuration of PropertyUtilsBean caches

Posted by Rahul Akolkar <ra...@gmail.com>.
On 4/28/08, Aaron Zeckoski <az...@gmail.com> wrote:
> Apologies if this is the wrong list for this.
>
<snip/>

Not a problem, but since you mention it, this list is generally
reserved for automated posts (such as those from the Apache Commons
issue tracker -- JIRA).

Better to use the dev list or JIRA itself for such posts.

-Rahul


>  We have an extension to commons beanutils which allows us to make it
>  work with public fields as well (and a few other improvements we
>  needed like deep cloning). In 1.8.0-BETA it is easier to handle this
>  extension (thanks!) but it could be even easier if there was a way to
>  get and set the caches which are used for storing the
>  PropertyDescriptors. Just switching the type from FastHashMap to Map
>  and making a setter and getter which are publicly visible would be
>  enough to reduce our the work in extending this significantly.
>
>  I can submit a patch for this if that is the better way to go about it
>  but I thought I would see what people thought first. Would this be
>  generally useful?
>  Thanks
>  -AZ
>
>
>
>  --
>  Aaron Zeckoski (aaronz@vt.edu)
>  Senior Research Engineer - CARET - Cambridge University
>  [http://bugs.sakaiproject.org/confluence/display/~aaronz/]
>  Sakai Fellow - [http://aaronz-sakai.blogspot.com/]
>