|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AbstractLogEnabled | +--org.apache.avalon.phoenix.components.deployer.installer.Installer
An Installer is responsible for taking a URL for Sar and installing it as appropriate.
Constructor Summary | |
Installer()
|
Method Summary | |
Installation |
install(java.lang.String name,
java.net.URL url)
Install the Sar designated by url. |
void |
setBaseDirectory(java.io.File baseDirectory)
Set the baseDirectory in which to install applications. |
void |
setBaseWorkDirectory(java.io.File baseWorkDirectory)
Set the baseDirectory in which to install applications temporary Data. |
void |
uninstall(Installation installation)
Uninstall the Sar designated installation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Installer()
Method Detail |
public void setBaseDirectory(java.io.File baseDirectory)
baseDirectory
- the baseDirectory in which to install applications.public void setBaseWorkDirectory(java.io.File baseWorkDirectory)
baseWorkDirectory
- the baseDirectory in which to install applications temporary Data.public void uninstall(Installation installation) throws InstallationException
installation
- the installation
InstallationException
- if an error occurspublic Installation install(java.lang.String name, java.net.URL url) throws InstallationException
url
- the url of instalation
InstallationException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |