public abstract Class<?> loadClass (String codebase, String name, ClassLoader defaultLoader) throws MalformedURLException, ClassNotFoundException

Provides the implementation for RMIClassLoader.loadClass(URL,String), RMIClassLoader.loadClass(String,String), and RMIClassLoader.loadClass(String,String,ClassLoader). Loads a class from a codebase URL path, optionally using the supplied loader. Typically, a provider implementation will attempt to resolve the named class using the given defaultLoader, if specified, before attempting to resolve the class from the codebase URL path.

An implementation of this method must either return a class with the given name or throw an exception.

Parameters:
codebase    the list of URLs (separated by spaces) to load the class from, or null
name    the name of the class to load
defaultLoader    additional contextual class loader to use, or null

Returns:  the Class object representing the loaded class

Exceptions:
MalformedURLException    if codebase is non-null and contains an invalid URL, or if codebase is null and a provider-specific URL used to load classes is invalid
ClassNotFoundException    if a definition for the class could not be found at the specified location