Search in sources :

Example 1 with IClassLoader

use of hudson.remoting.RemoteClassLoader.IClassLoader in project hudson-2.x by hudson.

the class ImportedClassLoaderTable method get.

public synchronized ClassLoader get(IClassLoader classLoaderProxy) {
    ClassLoader r = classLoaders.get(classLoaderProxy);
    if (r == null) {
        // we need to be able to use the same hudson.remoting classes, hence delegate
        // to this class loader.
        r = RemoteClassLoader.create(getClass().getClassLoader(), classLoaderProxy);
        classLoaders.put(classLoaderProxy, r);
    }
    return r;
}
Also used : IClassLoader(hudson.remoting.RemoteClassLoader.IClassLoader)

Aggregations

IClassLoader (hudson.remoting.RemoteClassLoader.IClassLoader)1