public Class findClass(String name) throws ClassNotFoundException { byte[] b = loadClassBytes(name); if (b == null) { throw new ClassNotFoundException(name); } return defineClass(name, b, 0, b.length); }
protected byte[] loadClassBytes(String className) { className = formatClassName(className); return (jarResources.getResource(className)); }
cl = new URLClassLoader(urls.toArray(new URL[urls.size()]), commonClassLoader); } else { cl = new ConnectorRARClassLoader(file, commonClassLoader);