static class AbstractTranslator.ClassLoaderFacadeImpl extends java.lang.Object implements AbstractTranslator.ClassLoaderFacade
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.ClassLoader |
classLoader |
| Constructor and Description |
|---|
ClassLoaderFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
loadClass(java.lang.String idlCompilerClass)
Loads the specified class using the appropriate classloader.
|
void |
prependUrls(java.net.URL... urls)
Updates the active classloader to include the specified URLs before the original definitions.
|
public void prependUrls(java.net.URL... urls)
AbstractTranslator.ClassLoaderFacadeprependUrls in interface AbstractTranslator.ClassLoaderFacadeurls - a list of URLs to include when searching for classes.public java.lang.Class<?> loadClass(java.lang.String idlCompilerClass)
throws java.lang.ClassNotFoundException
AbstractTranslator.ClassLoaderFacadeloadClass in interface AbstractTranslator.ClassLoaderFacadeidlCompilerClass - the name of the class to use for compiling IDL files.java.lang.ClassNotFoundException - if the specified class doesn't exist