Example usage for java.lang ClassLoader subclass-usage

List of usage examples for java.lang ClassLoader subclass-usage

Introduction

In this page you can find the example usage for java.lang ClassLoader subclass-usage.

Usage

From source file ClassLoaderDemo0.java

/**
 * Simple Demonstration of a ClassLoader WILL NOT COMPILE OUT OF THE BOX -- WILL
 * ONLY WORK AS PART OF THE CLASSLOADER EXERCISE. See ClassLoader1 for a working
 * version.
 */
public class ClassLoaderDemo0 extends ClassLoader {

From source file org.kawanfw.file.reflection.Reloader.java

public class Reloader extends ClassLoader {

    private static boolean DEBUG = FrameworkDebug.isSet(Reloader.class);

    private static URL url;

From source file com.ottogroup.bi.asap.repository.ComponentClassloader.java

/**
 * Reads the contents of a provided jar (array of bytes), extracts all {@link AsapComponent asap components} and allows
 * to access them by providing the component name as well as its version
 * @author mnxfst
 * @since Oct 29, 2014
 * TODO how to manage multiple resources having the same name but being located in differen JAR files?

From source file com.sshtools.j2ssh.util.ExtensionClassLoader.java

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: </p>
 * @author Lee David Painter

From source file com.sshtools.j2ssh.util.DynamicClassLoader.java

/**
 *
 *
 * @author $author$
 * @version $Revision: 1.1.1.1 $
 */

From source file org.squidy.common.dynamiccode.DynamicCodeClassLoader.java

/**
 * <code>DynamicCode</code>.
 * 
 * <pre>
 * Date: Mar 30, 2009
 * Time: 7:19:03 PM

From source file io.squark.nestedjarclassloader.Module.java

class Module extends ClassLoader {

    private final SetValuedMap<String, URL> resources = MultiMapUtils.newSetValuedHashMap();
    private final Map<String, byte[]> byteCache = new HashMap<>();
    private final Map<String, Class<?>> classes = new HashMap<>();
    private Logger logger;

From source file org.webical.plugin.classloading.PluginClassLoader.java

/**
 * ClassLoader that handles loading classes registered in a HashMap
 * @author ivo
 *
 */
public class PluginClassLoader extends ClassLoader {

From source file com.ottogroup.bi.spqr.repository.CachedComponentClassLoader.java

/**
 * Reads the contents of a provided jar (array of bytes), extracts all {@link MicroPipelineComponent} and allows
 * to access them by providing the component name as well as its version
 * @author mnxfst
 * @since Oct 29, 2014
 * TODO how to manage multiple resources having the same name but being located in different JAR files?

From source file rubah.runtime.classloader.RubahClassloader.java

public class RubahClassloader extends ClassLoader implements Opcodes {
    // Package names of classes that might have interesting state before Rubah class gets loaded
    private static final Set<String> INTERESTING_PACKAGE_NAMES = new HashSet<String>(Arrays.asList(new String[] {
            HashSet.class.getPackage().getName(), ConcurrentHashMap.class.getPackage().getName(), "sun.nio.ch", }));

    private static final Unsafe unsafe = UnsafeUtils.getUnsafe();