Nope this is unrelated. You could have n instances of the same event listener class and this code protect from this.

--
Emmanuel Bernard
http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com | http://twitter.com/emmanuelbernard
Hibernate Search in Action (http://is.gd/Dl1)

On  Jul 4, 2008, at 21:17, Sanne Grinovero wrote:

Hello,
does the resolution of HSEARCH-209 imply we can get rid of the

private static final ThreadLocal<WeakHashMap<Configuration,
SearchFactoryImpl>> contexts = ...

in SearchFactoryImpl?

I never fully understood the need of that, I thought because we could
have several Search listeners
registered, but if we could delete
FullTextIndexCollectionEventListener this shouldn't be an issue
anymore.

Sanne

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to