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 MyClassLoader.java

class MyClassLoader extends ClassLoader {
    public Class findClass(String name) {
        byte[] classData = null;
        try {
            FileInputStream f = new FileInputStream("C:\\" + name + ".class");
            int num = f.available();

From source file MyClassLoader.java

class MyClassLoader extends ClassLoader {
    public Class findClass(String name) {
        byte[] classData = null;
        try {
            FileInputStream f = new FileInputStream("C:\\" + name + ".class");
            int num = f.available();

From source file st.redline.classloader.SmalltalkClassLoader.java

public class SmalltalkClassLoader extends ClassLoader {

    private static Log LOG = LogFactory.getLog(SmalltalkClassLoader.class);

    private final SourceFinder sourceFinder;

From source file fi.jumi.core.util.LocallyDefiningClassLoader.java

@ThreadSafe
public class LocallyDefiningClassLoader extends ClassLoader {
    private final String classNamePrefix;

    public LocallyDefiningClassLoader(String classNamePrefix, ClassLoader parent) {
        super(parent);

From source file fi.jumi.threadsafetyagent.util.TransformationTestClassLoader.java

public class TransformationTestClassLoader extends ClassLoader {

    private final ClassNameMatcher classesToInstrument;
    private final ClassFileTransformer transformer;
    private final File dirToWriteClasses;

From source file kilim.test.TaskTestClassLoader.java

public class TaskTestClassLoader extends ClassLoader {
    private static final Log log = Log4jUtil.getLog(TaskTestClassLoader.class);
    static String wclassDir;

    static {
        URL baseURL = Thread.currentThread().getContextClassLoader()

From source file SelfClassLoader.java

/**
 * <p>
 * <a href="SelfClassLoader.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author 5jxiang

From source file edu.northwestern.bioinformatics.studycalendar.utility.osgimosis.FileClassLoader.java

/**
 * @author Rhett Sutphin
 */
public class FileClassLoader extends ClassLoader {
    private final Logger log = LoggerFactory.getLogger(getClass());

From source file DDTClassLoader.java

/**
 * Created with IntelliJ IDEA.
 * User: Avraham (Bey) Melamed
 * Date: 07/14/14
 * Time: 9:22 PM
 * Selenium Based Automation

From source file org.beangle.model.persist.hibernate.internal.BundleDelegatingClassLoader.java

public class BundleDelegatingClassLoader extends ClassLoader {

    /** use degradable logger */
    private static final Logger log = LoggerFactory.getLogger(BundleDelegatingClassLoader.class);

    private final ClassLoader bridge;