|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectRepository.Deployer
Web service invoker.
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 | |
(package private) DeployerIF |
di
Class calling the DeployIF Web service |
| Constructor Summary | |
private |
Deployer(DeployerIF di)
Constructor. |
| Method Summary | |
DeployIF.Status |
add(java.lang.String arch,
java.lang.String downloadURL,
java.lang.String owner,
byte[] archData,
java.lang.String date,
java.lang.String oldDate,
java.lang.String docURL,
java.lang.String user,
boolean isUpdate,
boolean runInstall,
DeployIF.UrlUser[] relayed)
Deploys an archive and returns a status. |
DeployIF.Status |
delete(java.lang.String arch,
java.lang.String downloadURL,
java.lang.String owner,
java.lang.String user,
boolean runRemove,
boolean keepDir)
Undeploys an archive and returns a status. |
DeployIF.Status |
frameSend(TokenFrame frame)
TokenIF method. |
java.lang.String |
getArchPath(java.lang.String arch)
Returns an archive path. |
java.lang.String |
getAudit(java.lang.String arch,
java.lang.String owner,
java.lang.String user,
java.lang.String downloadURL)
Returns the audit entries specific to an archive on a PageBox |
(package private) static Deployer |
getDeployer(java.lang.String deployerclass)
Factory method. |
java.lang.String |
rename(java.lang.String oldDownloadURL,
java.lang.String newDownloadURL,
java.lang.String user)
Change the repository URL. |
void |
setUrl(java.lang.String url,
java.lang.String user,
java.lang.String passwd,
Log log)
Set the Web service URI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DeployerIF di
| Constructor Detail |
private Deployer(DeployerIF di)
di - class calling the DeployIF Web service| Method Detail |
static Deployer getDeployer(java.lang.String deployerclass)
deployerclass - name of the class calling the DeployIF Web service
public void setUrl(java.lang.String url,
java.lang.String user,
java.lang.String passwd,
Log log)
setUrl in interface DeployerIFurl - Web service URI.user - Web service account IDpasswd - Web service account passwordlog - logging object
public DeployIF.Status add(java.lang.String arch,
java.lang.String downloadURL,
java.lang.String owner,
byte[] archData,
java.lang.String date,
java.lang.String oldDate,
java.lang.String docURL,
java.lang.String user,
boolean isUpdate,
boolean runInstall,
DeployIF.UrlUser[] relayed)
arch - archive name.downloadURL - download URL.owner - user who published the archive.archData - archive data.date - publication date and time.oldDate - expected previous publication date and time.docURL - documentation URL.user - user who subscribed the PageBox.isUpdate - if true delta updaterunInstall - if true run the Application server installer (Web application)relayed - PageBox instances to deploy
public DeployIF.Status delete(java.lang.String arch,
java.lang.String downloadURL,
java.lang.String owner,
java.lang.String user,
boolean runRemove,
boolean keepDir)
arch - archive name.downloadURL - download URL.owner - user who published the archive.user - user who subscribed the PageBox.runRemove - if true run the Application server installer (Web application)keepDir - keep directory
public java.lang.String rename(java.lang.String oldDownloadURL,
java.lang.String newDownloadURL,
java.lang.String user)
oldDownloadURL - previous download URL for some archivesnewDownloadURL - new download URL for these archivesuser - user who subscribed the PageBox.
public java.lang.String getArchPath(java.lang.String arch)
arch - archive name
public java.lang.String getAudit(java.lang.String arch,
java.lang.String owner,
java.lang.String user,
java.lang.String downloadURL)
arch - archive name without extensionowner - user who published the archive.user - user who subscribed the PageBox.downloadURL - download URL.
public DeployIF.Status frameSend(TokenFrame frame)
frame - sent frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||