public interface ArchiveDownloadMBean
| Modifier and Type | Method and Description |
|---|---|
byte[] |
downloadBytes(Object id,
int length)
Download
length bytes from an existing download session. |
Object |
getComponentArchiveId(String componentName)
Returns the archive id of a component in the repository.
|
Object |
getServiceAssemblyArchiveId(String saName)
Returns the archive id of a service assembly in the repository.
|
Object |
getSharedLibraryArchiveId(String sharedLibrayName)
Returns the archive id of a shared library in the repository.
|
Object |
initiateDownload(Object archiveId)
Initiates the download of an archive identified by 'archiveId'.
|
Object |
initiateRegistryDownload()
Initiates the download of the Registry.
|
void |
terminateDownload(Object id)
Used to indicate that a download session is complete.
|
Object getServiceAssemblyArchiveId(String saName)
saName - name of the service assemblyObject getComponentArchiveId(String componentName)
componentName - name of the componentObject getSharedLibraryArchiveId(String sharedLibrayName)
sharedLibrayName - name of the shared libraryObject initiateDownload(Object archiveId) throws IOException
downloadBytes().IOExceptionObject initiateRegistryDownload() throws IOException
IOExceptionbyte[] downloadBytes(Object id, int length) throws IOException
length bytes from an existing download session.IOExceptionvoid terminateDownload(Object id) throws IOException
IOExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.