public class ClassloaderUtils extends Object
Constructor and Description |
---|
ClassloaderUtils() |
Modifier and Type | Method and Description |
---|---|
static ClassLoader |
createModuleClassloader(URL[] urls)
Creates a ClassLoader for the launched modules by merging the URLs supplied as argument with the URLs that
make up the additional classpath of the launched JVM (retrieved from the application classloader), and
setting the extension classloader of the JVM as parent, if accessible.
|
public static ClassLoader createModuleClassloader(URL[] urls)
urls
- a list of library URLsCopyright © 2016 Pivotal Software, Inc.. All rights reserved.