[pool] Evictor thread

2005-02-08 Thread Attila Szegedi
Hi all, I've just been through a particularly nasty case of debugging a memory leak where the evictor thread of GenericObjectPool (as used by DBCP) was not willing to die and let go of a disposed ClassLoader it held as the loader of a ProtectionDomain of its inherited SecurityContext. Now, wh

Re: Bean property comparator

2004-02-13 Thread Attila Szegedi
"Brian S O'Neill" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > An alternative BeanComparator, that runs even faster is available in the > TeaTrove project. > > http://teatrove.sourceforge.net/javadoc/com/go/trove/util/BeanComparator.html > > It relies on a builder patterm that auto

Bean property comparator

2004-02-11 Thread Attila Szegedi
Hi folks, there's one comparator I've been missing from the commons-collection: a comparator that uses a specified bean property of objects to perform the comparisons. Basically, it works like this: if you construct an instance with: Comparator c = new BeanPropertyComparator(Customer.class, "b