|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PageBoxLib.InstallHelper
Helper class for running the database creation and running the Install class.
Changes:alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Field Summary | |
private java.lang.String |
dbCreateScript
Script for the creation of database |
private Log |
log
Logging object |
private java.util.HashMap |
resources
Application server resource map |
Constructor Summary | |
InstallHelper(Log log,
java.util.HashMap resources,
java.lang.String dbCreateScript)
Constructor. |
Method Summary | |
DeployIF.Status |
install(java.lang.String arch,
java.lang.String downloadURL,
boolean isUpdate2,
java.lang.String archPath)
Install an archive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String dbCreateScript
private Log log
private java.util.HashMap resources
Constructor Detail |
public InstallHelper(Log log, java.util.HashMap resources, java.lang.String dbCreateScript)
log
- logging objectresources
- application server resource mapdbCreateScript
- script for the creation of databaseMethod Detail |
public DeployIF.Status install(java.lang.String arch, java.lang.String downloadURL, boolean isUpdate2, java.lang.String archPath)
arch
- archive namedownloadURL
- download URL.isUpdate2
- if true replaces an older version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |