Re: [infinispan-dev] BeanUtils.getterMethod

2011-08-04 Thread Dan Berindei
On Thu, Aug 4, 2011 at 2:03 AM, Sanne Grinovero sa...@infinispan.org wrote: 2011/8/3 Dan Berindei dan.berin...@gmail.com: I think it's supposed to be an automatic version of

[infinispan-dev] BeanUtils.getterMethod

2011-08-03 Thread Sanne Grinovero
Hello all, could anybody explain why the ComponentRegistry is performing the following operation ? The method AbstractComponentRegistry#getFromConfiguration(ClassT) which invokes: org.infinispan.util.BeanUtils.getterMethod(Class, Class) and this one throws thousands of NoSuchMethodException if

Re: [infinispan-dev] BeanUtils.getterMethod

2011-08-03 Thread Mircea Markus
On 3 Aug 2011, at 19:39, Sanne Grinovero wrote: Hello all, could anybody explain why the ComponentRegistry is performing the following operation ? The method AbstractComponentRegistry#getFromConfiguration(ClassT) which invokes: org.infinispan.util.BeanUtils.getterMethod(Class, Class)

Re: [infinispan-dev] BeanUtils.getterMethod

2011-08-03 Thread Sanne Grinovero
2011/8/3 Dan Berindei dan.berin...@gmail.com: I think it's supposed to be an automatic version of https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/config/GlobalConfiguration.java#L326 I prefer the manual version in GlobalConfiguration, although I don't