Author: manik.surtani(a)jboss.com
Date: 2008-06-05 06:53:15 -0400 (Thu, 05 Jun 2008)
New Revision: 5960
Modified:
core/trunk/src/main/java/org/jboss/cache/loader/AbstractCacheLoader.java
Log:
Added some logging
Modified: core/trunk/src/main/java/org/jboss/cache/loader/AbstractCacheLoader.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/loader/AbstractCacheLoader.java 2008-06-05
10:39:56 UTC (rev 5959)
+++ core/trunk/src/main/java/org/jboss/cache/loader/AbstractCacheLoader.java 2008-06-05
10:53:15 UTC (rev 5960)
@@ -211,6 +211,8 @@
if (r != null)
{
+ if (trace)
+ log.trace("Using region " + r.getFqn() + ", which has
registered class loader " + r.getClassLoader() + " as a context class
loader.");
// set the region's class loader as the thread's context classloader
needToResetLoader = true;
current = Thread.currentThread();