This class loader is able to load all published URE classes, including the
classes representing the published URE UNO types. For consistency, it is
important that within each Java UNO environment there is one instance of this
class loader that is the defining class loader of all published URE classes
(and hence of all unpublished URE classes, too) and of all classes
representing UNO types (the published URE UNO types, any unpublished URE UNO
types, and any additional UNO types introduced by components; for the latter,
URLClassLoader.addURL(java.net.URL) may be necessary).
This is an internal, unstable class of the Uno Runtime Environment; it
should not be used by client code.
base - a base URL relative to which the URE JARs
(java_uno.jar, juh.jar, jurt.jar,
ridl.jar) can be found; must not be null.
classPath - an array of URLs that form the class path of this class
loader; may be null, which is the same as an empty array.
The URLs are interpreted in the same way as the arguments of a URLClassLoader.
mainAttributes - represents the main section of the manifest of the
given JAR jar; null if the given JAR does not
have a manifest. (This redundant parameter is there for performance
reasons, as typically the caller of this method already has this
information available.)
Returns:
an appropriate class loader; will never be null.
Throws:
MalformedURLException - if the given jar URL or any of
the UNO-Type-Path URLs specified in the given JAR are malformed.