try {
URL customUrlStorageDir = this.communicationChannelClient.getPluginStorageDir();
System.out.println("Got Tmp dir : " + customUrlStorageDir);
Vector<PluginURL> serverSideUrls = new Vector<PluginURL>();
for (PluginURL pluginURL : clientSideUrls) {
PluginURL serverSideURL = new PluginURL(pluginURL.getCatalogId(), new URL(customUrlStorageDir, new File(pluginURL.getURL().getFile()).getName()));
System.out.println("generated server side url : " + customUrlStorageDir);
this.communicationChannelClient.transferUrl(pluginURL.getURL(), serverSideURL.getURL());
serverSideUrls.add(serverSideURL);
}
return serverSideUrls;
} catch (Exception e) {
throw new CatalogServiceException(e.getMessage(), e);