| com.sun.jbi.management.repository.ArchiveDownloadMBean
All known Subclasses: com.sun.jbi.management.repository.ArchiveDownload,
ArchiveDownloadMBean | public interface ArchiveDownloadMBean (Code) | | Downloads archive bytes from the ESB repository.
|
downloadBytes | 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 | 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 | 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 | 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 | 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 returned Object is used as
a session id for downloading the archive bytes with
downloadBytes() .
download session id |
|
|