Class VFSClassLoader

java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
org.apache.commons.vfs2.impl.VFSClassLoader

public class VFSClassLoader extends SecureClassLoader
A class loader that can load classes and resources from a search path.

The search path can consist of VFS FileObjects referring both to folders and JAR files. Any FileObject of type FileType.FILE is assumed to be a JAR and is opened by creating a layered file system with the "jar" scheme.

TODO - Test this with signed Jars and a SecurityManager.

See Also: