public class RhinoClassLoader extends BundleProxyClassLoader
ContextFactory.getGlobal().initApplicationClassLoader(new RhinoClassLoader());| Modifier and Type | Method and Description |
|---|---|
Class<?> |
findClass(String name) |
static RhinoClassLoader |
getInstance() |
static void |
registerURL(IScriptEngine engine,
URL url)
Add a URL to the search path of the classloader.
|
static void |
unregisterEngine(RhinoScriptEngine engine) |
findResource, findResources, getResourceclearAssertionStatus, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatuspublic static RhinoClassLoader getInstance()
public Class<?> findClass(String name) throws ClassNotFoundException
findClass in class BundleProxyClassLoaderClassNotFoundExceptionpublic static void registerURL(IScriptEngine engine, URL url)
engine - script engine usedurl - url to add to classpathpublic static void unregisterEngine(RhinoScriptEngine engine)