[infinispan-dev] [Pull Request] Modular Classloading Compatibility

Emmanuel Bernard emmanuel at hibernate.org
Thu May 12 06:22:13 EDT 2011


On 12 mai 2011, at 11:18, Dan Berindei wrote:

> That seems like a lot of overhead to me, and forcing the user to
> provide the classloader doesn't seem that bad in comparison. Perhaps
> we should use something other than a thread-local for this though, so
> that users can do a onto the result of a
> cacheManager.getCache("A").usingClassLoader(A.class) and never have to
> provide the classloader again.

Note that I don't think it works in the case you mentioned earlier ie a ArrayList with classes from many different bundles.


More information about the infinispan-dev mailing list