public class JRubyClassLoader extends ClassDefiningJRubyClassLoader
JRuby.runtime.jruby_class_loader.add_url( java.net.URL.new( "file:my.jar" )$CLASSPATH << 'path/to/class/or/resources'require 'some.jar'load 'some.jar'require and load| Constructor and Description | 
|---|
| JRubyClassLoader(ClassLoader parent) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addURL(URL url) | 
| void | close()Called when the parent runtime is torn down. | 
| Runnable | getJDBCDriverUnloader()Deprecated.  | 
| void | tearDown(boolean debug)Deprecated. 
 use  close()instead | 
defineClass, defineClassdefinePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadClasspublic JRubyClassLoader(ClassLoader parent)
public void addURL(URL url)
addURL in class URLClassLoaderpublic void tearDown(boolean debug)
close() insteadpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class URLClassLoader@Deprecated public Runnable getJDBCDriverUnloader()
Copyright © 2001-2015 JRuby. All Rights Reserved.