CGLIB is used for two things:

1) Lazy loading of concrete class types.  This is the only way to achieve this in Java.

2) "Faster" setting of JavaBean properties.  This enhancement is so minimal, that in future versions we will not bother with it.

To enable this, set enhancementEnabled="true" and put CGLIB in your classpath.

It really is that simple.

Cheers,
Clinton

On 7/24/06, Mkhitaryan, Aram <[EMAIL PROTECTED] > wrote:
Yeah, I tried to find some additional documentation on CGLIB, but nothing found.
Available documentation is not enough, and does not enabling enhancement in real.

If you have detailed information about enhancement topics, please, send it!

-----Original Message-----
From: Sumanta Ghosh [mailto: [EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2006 9:49 AM
To: [email protected]
Subject: Re: Usage of Reflection


Thanks a lot!! - I'll go for 2.... FINAL. And in fact, we are using JDK 1.4.
Also, I have read a one liner about usage of CGLIB in IBATIS. Please let me
know if there are some more documentation regarding this.
--
View this message in context: http://www.nabble.com/Usage-of-Reflection-tf1996304.html#a5479900
Sent from the iBATIS - User - Java forum at Nabble.com.


Reply via email to