public DFSInstanceStub (ThreadingContext threading, int noThreads, String host, int port, final Class<? extends AbstractFilesystemDriver> driverClas)
throws Exception
{
Constructor<? extends AbstractFilesystemDriver> constructor = driverClas.getConstructor(ThreadingContext.class, Integer.class, String.class, Integer.class);
AbstractFilesystemDriver parent = constructor.newInstance(threading, new Integer(noThreads), host, new Integer(port));
init(parent);
drivers = new FileHandlerDriverProxy();
}