| java.lang.Object com.sun.jbi.management.repository.ArchiveDownload
ArchiveDownload | public class ArchiveDownload implements ArchiveDownloadMBean(Code) | | Downloads archive bytes from the ESB repository.
|
downloadBytes | public byte[] downloadBytes(Object id, int length) throws java.io.IOException(Code) | | Download length bytes from an existing download session.
a byte array of the specified length. If the remaining bytesin the session <= length, the byte array is sized appropriately. Ifall bytes have been downloaded, the returned array length is 0. |
getComponentArchiveId | public Object getComponentArchiveId(String componentName)(Code) | | Returns the archive id of a component in the repository.
Parameters: componentName - name of the component archive ID, or null if the component does not existin the repository. |
getServiceAssemblyArchiveId | public Object getServiceAssemblyArchiveId(String saName)(Code) | | Returns the archive id of a service assembly in the repository.
Parameters: saName - name of the service assembly archive ID, or null if the service assembly does not existin the repository. |
getSharedLibraryArchiveId | public Object getSharedLibraryArchiveId(String sharedLibrayName)(Code) | | Returns the archive id of a shared library in the repository.
Parameters: sharedLibrayName - name of the shared library archive ID, or null if the shared library does not existin the repository. |
initiateDownload | public Object initiateDownload(Object archiveId) throws java.io.IOException(Code) | | Initiates the download of an archive identified by 'archiveId'. In
most situations, the archiveId will simply be the CAS-local path to
the archive in the ESB repository. The path is checked to ensure that
only files contains in the jbi install root can be copied. A relative path
is prepended with the jbi install root. The returned Object is used as
a session id for downloading the archive bytes with
downloadBytes() .
download session id |
initiateRegistryDownload | public Object initiateRegistryDownload() throws java.io.IOException(Code) | | Initiates the download of the DAS registry. This is a special purpose
method due to the need to synchronize copying the registry while others may be
writing to it.
download session id |
terminateAllDownloads | public void terminateAllDownloads()(Code) | | |
|
|