src/main/java/org/jboss/util/collection/WeakTypeCache.java
protected Map<String, T> getClassLoaderCache(ClassLoader cl)
   {
      synchronized (cache)
      {
         Map<String, T> result = cache.get(cl);
         if (result == null)
         {
            result = new WeakValueHashMap<String, T>();
            cache.put(cl, result);
         }
         return result;
      }
   }
protected Map<String, T> getClassLoaderCache(ClassLoader cl)
   {
      synchronized (cache)
      {
         Map<String, T> result = cache.get(cl);
         if (result == null)
         {
            result = new WeakValueHashMap<String, T>();
            cache.put(cl, result);
         }
         return result;
      }
   }
Get the cache for the classloader

@param cl the classloader
@return the map