callback.failed(ex);
}
}
private FileUploader createWorker(File localWsdlFile, CallbackResult callback) {
FileUploadClient client = new WsdlUploadClient(fileStore, callback);
FileUploader uploader = new FileUploader(client, localWsdlFile.getAbsolutePath()) {
@Override
protected AbstractFileUploadJob createUploadJob(ServerFile parent, List<File> filesToUpload) {
return new UploadWsdlFileJob(this, parent, filesToUpload);