Re: [hibernate-dev] Reflite

2014-06-04 Thread Gunnar Morling
2014-06-03 15:44 GMT+02:00 Steve Ebersole : > The point is to delay accessing ClassLoader. The reason being runtime > enhancement. If we load Classes at this point we wont be able to enhance > them later when JPA hooks allow us to. > Ah, I see. FWIW, the model in javax.lang.model.type.* also d

Re: [hibernate-dev] Reflite

2014-06-03 Thread Steve Ebersole
The point is to delay accessing ClassLoader. The reason being runtime enhancement. If we load Classes at this point we wont be able to enhance them later when JPA hooks allow us to. On Tue, Jun 3, 2014 at 8:33 AM, Gunnar Morling wrote: > Hi, > > I haven't followed the discussion around "refli

Re: [hibernate-dev] Reflite

2014-06-03 Thread Gunnar Morling
Hi, I haven't followed the discussion around "reflite" closely, so I'm just going to add some thoughts/questions coming to my mind after exploring the model a bit: * Is there some sort of design document which describes at a higher level the purpose and the benefit of the model? If not, e.g. Java

Re: [hibernate-dev] Reflite

2014-06-03 Thread Steve Ebersole
Not exactly sure what you mean by "favoured" it. I'm the one who wrote it all for sure, if that's what you mean. But I was just trying something. The java.lang.Class model has pros and cons to it. I had just wanted to investigate alternative models to see whether those pros/cons could be improv

Re: [hibernate-dev] Reflite

2014-06-03 Thread Hardy Ferentschik
On 2 Jan 2014, at 18:36, Steve Ebersole wrote: > 1) What do you think of the split in JavaTypeDescriptor into distinct > sub-contracts? For example, the split between say ClassDescriptor and > InterfaceDescriptor? Didn’t we have this discussion before. If I remember correctly you were the on

Re: [hibernate-dev] Reflite

2014-06-02 Thread Steve Ebersole
What do you think about collapsing these into a single spi contract, rather than broken out (e.g., more akin to jdk reflection)? Specifically in regards to ClassDescriptor and InterfaceDescriptor On Mon, Jun 2, 2014 at 12:47 PM, Gail Badner wrote: > Hi Steve, > > I haven't had much of a chance

Re: [hibernate-dev] Reflite

2014-06-02 Thread Gail Badner
Hi Steve, I haven't had much of a chance to use it yet, but I like what I've seen so far. When I get back to Envers (later this week), there are places that use the Jandex index that I will change to use reflite. I'll have more feedback then. Gail - Original Message - > From: "Steve Eb