public class ArchiveDownload extends Object implements ArchiveDownloadMBean
| Constructor and Description |
|---|
ArchiveDownload(ManagementContext ctx) |
| 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 DAS registry.
|
void |
terminateAllDownloads() |
void |
terminateDownload(Object id)
Used to indicate that a download session is complete.
|
public ArchiveDownload(ManagementContext ctx)
public Object getServiceAssemblyArchiveId(String saName)
getServiceAssemblyArchiveId in interface ArchiveDownloadMBeansaName - name of the service assemblypublic Object getComponentArchiveId(String componentName)
getComponentArchiveId in interface ArchiveDownloadMBeancomponentName - name of the componentpublic Object getSharedLibraryArchiveId(String sharedLibrayName)
getSharedLibraryArchiveId in interface ArchiveDownloadMBeansharedLibrayName - name of the shared librarypublic Object initiateRegistryDownload() throws IOException
initiateRegistryDownload in interface ArchiveDownloadMBeanIOExceptionpublic Object initiateDownload(Object archiveId) throws IOException
downloadBytes().initiateDownload in interface ArchiveDownloadMBeanIOExceptionpublic byte[] downloadBytes(Object id, int length) throws IOException
length bytes from an existing download session.downloadBytes in interface ArchiveDownloadMBeanIOExceptionpublic void terminateDownload(Object id) throws IOException
terminateDownload in interface ArchiveDownloadMBeanIOExceptionpublic void terminateAllDownloads()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.