public class FileTransferManager extends Object
setChunkSize if necessary.| Constructor and Description |
|---|
FileTransferManager(MBeanServerConnection server) |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadArchive(String archiveLocation,
File target) |
int |
getChunkSize()
Return the chunk size for archive transfers.
|
Object |
getLastUploadId() |
void |
removeUploadedArchive(Object uploadId)
this will remove any previously uploaded archive by using its uploaded id
|
void |
setChunkSize(int size)
Sets the chuck size for archive transfers.
|
String |
uploadArchive(File archive)
Uploads the specified archive to a temporary store in the ESB repository.
|
public FileTransferManager(MBeanServerConnection server)
public String uploadArchive(File archive) throws Exception
Exceptionpublic Object getLastUploadId()
public void removeUploadedArchive(Object uploadId)
public void downloadArchive(String archiveLocation, File target) throws Exception
Exceptionpublic int getChunkSize()
public void setChunkSize(int size)
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.