org.mmbase.module.tools
Class ApplicationInstaller
java.lang.Object
org.mmbase.module.tools.ApplicationInstaller
- public class ApplicationInstaller
- extends Object
Application installations functionalite of MMAdmin.
- Since:
- MMBase-1.8
- Version:
- $Id: ApplicationInstaller.java,v 1.8 2006/07/15 16:02:21 michiel Exp $
- Author:
- Nico Klasens
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationInstaller
public ApplicationInstaller(MMBase mmb)
installApplications
public void installApplications()
throws SearchQueryException
- Throws:
SearchQueryException
installApplication
public boolean installApplication(String applicationName,
int requiredVersion,
String requiredMaintainer,
org.mmbase.module.tools.ApplicationResult result,
Set installationSet,
boolean autoDeploy)
throws SearchQueryException
- Installs the application
- Parameters:
applicationName - Name of the application file, without the xml extension
This is also assumed to be the name of teh application itself
(if not, a warning will be issued)result - the result object, containing error messages when the installation fails,
or the installnotice if succesfull or already installedinstallationSet - set of installations that are currently being installed.
used to check if there are circular dependenciesautoDeploy - if true, the installation is only installed if the application is set to autodeploy
- Returns:
- true if succesfull, false otherwise
- Throws:
SearchQueryException
installDataSources
protected boolean installDataSources(List dataSources,
String appName,
org.mmbase.module.tools.ApplicationResult result)
- Since:
- MMBase-1.7
- Warning: No Java Documentation Available.
MMBase build 1.8.1.20060716