| com.sun.jbi.management.repository.ArchiveUploadMBean
All known Subclasses: com.sun.jbi.management.repository.ArchiveUpload,
ArchiveUploadMBean | public interface ArchiveUploadMBean (Code) | | Uploads archive bytes to a temporary store in the ESB repository.
|
getArchiveFilePath | String getArchiveFilePath(Object id)(Code) | | Returns the absolute path to the location of the uploaded archive.
Parameters: id - the upload identifier the absolute path to the location of the archive as a String , or nullif the specified archive id does not exist in the repository. |
getArchiveURL | String getArchiveURL(Object id)(Code) | | Returns the location of the uploaded archive.
Parameters: id - the upload identifier the location of the archive as a String URL, or nullif the specified archive id does not exist in the repository. |
initiateUpload | Object initiateUpload(String archiveName) throws java.io.IOException(Code) | | Initiates an upload session. The Object returned from this method
is used as an identifier for uploading bytes with the
uploadBytes() method.
a unique id used for uploading bytes |
removeArchive | public boolean removeArchive(Object id)(Code) | | Delete the uploaded archive.
true if the archive is deleted succcessfully, false otherwise |
uploadBytes | void uploadBytes(Object id, byte[] bytes) throws java.io.IOException(Code) | | Uploads a chunk of bytes to an existing temporary archive file.
Parameters: id - the upload identifier Parameters: bytes - the content to upload |
|
|