/** * Returns a string representation. */ public String toString() { return super.toString() + "{ url=" + getURL() + " }"; }
/** * Returns a string representation. */ public String toString() { return super.toString() + "{ url=" + getURL() + " }"; }
/** Walk through the class loader URL to see what packages it is capable of handling */ private void updatePackageMap(RepositoryClassLoader cl) { try { URL url = cl.getURL(); PackageMapper listener = new PackageMapper(cl); ClassLoaderUtils.updatePackageMap(url, listener); } catch (Exception e) { if (log.isTraceEnabled()) log.trace("Failed to update pkgs for cl=" + cl, e); else log.debug("Failed to update pkgs for cl=" + cl+", "+e.getMessage()); } }
/** Walk through the class loader URL to see what packages it is capable of handling */ private void updatePackageMap(RepositoryClassLoader cl) { try { URL url = cl.getURL(); PackageMapper listener = new PackageMapper(cl); ClassLoaderUtils.updatePackageMap(url, listener); } catch (Exception e) { if (log.isTraceEnabled()) log.trace("Failed to update pkgs for cl=" + cl, e); else log.debug("Failed to update pkgs for cl=" + cl+", "+e.getMessage()); } }
URL url = cl.getURL(); boolean added = false; synchronized (classLoaders)
URL url = cl.getURL(); boolean added = false; synchronized (classLoaders)