com.manydesigns.portofino.code.CodeBase Maven / Gradle / Ivy
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