[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Caching in BaseClassLoaderDomain.findLoaderInExports
adrian@jboss.org
do-not-reply at jboss.com
Fri Aug 24 08:52:36 EDT 2007
I don't understand what point you are trying to make?
The idea of the code above is that if any of the classloaders looked at doesn't
allow caching or blacklisting then you can't cache or blacklist at the global level.
e.g.
The classloaders could be C1 (canCache=false, canBlacklist=false), C2
On first attempt:
C1 == not found
C2 == found
But C1 says don't cache the result returned from C2 because I might be able
to return "found" in future.
Or alternatively
C1 == not found
C2 == not found
but C1 says don't blacklist (cache misses) for the same reason.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077759#4077759
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077759
More information about the jboss-dev-forums
mailing list