public interface ClassLoaderFactory
| Modifier and Type | Method and Description |
|---|---|
FilteringClassLoader |
createFilteringClassLoader(java.lang.ClassLoader parent)
Creates a ClassLoader implementation which has, by default, only the classes from the Java API visible, but which can allow access
to selected classes from the given parent ClassLoader.
|
java.lang.ClassLoader |
createIsolatedClassLoader(ClassPath classPath)
Creates a ClassLoader implementation which has only the classes from the specified URIs and the Java API visible.
|
java.lang.ClassLoader |
createIsolatedClassLoader(java.lang.Iterable<java.net.URI> uris)
Creates a ClassLoader implementation which has only the classes from the specified URIs and the Java API visible.
|
java.lang.ClassLoader createIsolatedClassLoader(ClassPath classPath)
java.lang.ClassLoader createIsolatedClassLoader(java.lang.Iterable<java.net.URI> uris)
FilteringClassLoader createFilteringClassLoader(java.lang.ClassLoader parent)
parent - the parent ClassLoaderCopyright © 2013. All rights reserved