public interface ClassLoaderFactory
| Modifier and Type | Method and Description |
|---|---|
FilteringClassLoader |
createFilteringClassLoader(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.
|
ClassLoader |
createIsolatedClassLoader(ClassPath classPath)
Creates a ClassLoader implementation which has only the classes from the specified URIs and the Java API visible.
|
ClassLoader |
createIsolatedClassLoader(Iterable<URI> uris)
Creates a ClassLoader implementation which has only the classes from the specified URIs and the Java API visible.
|
ClassLoader createIsolatedClassLoader(ClassPath classPath)
ClassLoader createIsolatedClassLoader(Iterable<URI> uris)
FilteringClassLoader createFilteringClassLoader(ClassLoader parent)
parent - the parent ClassLoaderCopyright © 2013. All rights reserved