All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.manydesigns.portofino.code.CodeBase Maven / Gradle / Ivy

There is a newer version: 5.3.4
Show newest version
package com.manydesigns.portofino.code;

import org.apache.commons.vfs2.FileObject;

import java.io.IOException;

/**
 * Created by alessio on 28/03/17.
 */
public interface CodeBase {
    Class loadClass(String className) throws IOException, ClassNotFoundException;

    ClassLoader getClassLoader();

    FileObject getRoot();

    void close();

    default ClassLoader asClassLoader() {
        return new CodeBaseClassLoader(this);
    }

    void clear() throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy