|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentModuleIO
Handles the I/O for a Deployment Module.
| Method Summary | |
|---|---|
void |
commit()
Updates the archive, creating it if required. |
java.io.InputStream |
getInputStream(ArchiveEntry entry)
Return an input stream that can be used to read the contents of an ArchiveEntry. |
java.io.OutputStream |
getOutputStream(ArchiveEntry entry)
Return an output stream that can be used to update an ArchiveEntry. |
java.net.URL |
getURL()
Returns the URL this IO is managing. |
void |
load()
Load a DeploymentModule with information found at moduleIO.getURL() |
void |
load(java.net.URL url)
Load an Archive from URL. |
void |
release()
|
void |
rollback()
|
void |
setArchive(DeploymentModule archive)
Sets the archive this Module I/O class should operate on. |
void |
setURL(java.net.URL url)
Only possible on a committed module. |
| Method Detail |
|---|
void setArchive(DeploymentModule archive)
throws java.io.IOException
archive - the Archive to set. Can be null.
java.io.IOException - if the rollback did not succeed.java.net.URL getURL()
void setURL(java.net.URL url)
void load()
throws java.io.IOException
module - the DeploymentModule that should be refreshed. Any uncommitted
changes will be rolled back, and the state set to COMMITTED.
java.io.IOException
void load(java.net.URL url)
throws java.io.IOException
module - url -
java.io.IOException
java.io.OutputStream getOutputStream(ArchiveEntry entry)
throws java.io.IOException
module.commit() is issued.
module - entry -
java.io.IOException - if the DeploymentModule is read-only.
java.io.InputStream getInputStream(ArchiveEntry entry)
throws java.io.IOException
module - entry -
java.io.IOException - if an InputStream could not be returned.
void commit()
throws java.io.IOException
module -
DeployException
java.io.IOException
void rollback()
throws java.io.IOException
java.io.IOException
void release()
throws java.io.IOException
java.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||