JSPservletPkg
Class SoapUpdate

java.lang.Object
  |
  +--JSPservletPkg.SoapUpdate

public class SoapUpdate
extends java.lang.Object

Update SOAP class. Equivalent to ServletUpdate. Changes: Version 1.0.1: delete method

Copyright (c) 2000-2001

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.
 This program 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 General Public License for more details.
 

Version:
1, 0, 1
Author:
Alexis Grandemange
See Also:
JSPservlet

Field Summary
private  JSPhandler handler
          Target JSPhandler.
private  java.lang.String path
          JSPservlet web archive path.
 
Constructor Summary
SoapUpdate()
           
 
Method Summary
 java.lang.String delete(java.lang.String jarName)
          Removes an archive.
 JSPservletPkg.Element getDefined()
          Get list of defined archives and remote locations.
 JSPservletPkg.Element getLoaded()
          Get list of loaded archives and remote locations.
 java.lang.String getTrace()
          Get trace.
 void init(java.lang.String contextPath)
          Retrieves handler.
 java.lang.String load(java.lang.String jarName)
          Loads or reloads an archive.
 java.lang.String setTrace(java.lang.String OnOff)
          Set trace.
 java.lang.String update(java.lang.String jarName, java.lang.String remoteLocation)
          Update or creates an archive.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

handler

private JSPhandler handler
Target JSPhandler.

path

private java.lang.String path
JSPservlet web archive path.
Constructor Detail

SoapUpdate

public SoapUpdate()
Method Detail

init

public void init(java.lang.String contextPath)
Retrieves handler. It cannot create it if it doesn't exist as it lacks a ServletConfig.
Parameters:
contextPath - JSPservlet web archive path.

setTrace

public java.lang.String setTrace(java.lang.String OnOff)
Set trace. Returns diagnosis message.
Parameters:
OnOff - ON (set trace on) or OFF (set trace off).

getTrace

public java.lang.String getTrace()
Get trace. Returns ON or OFF or diagnosis message.

update

public java.lang.String update(java.lang.String jarName,
                               java.lang.String remoteLocation)
Update or creates an archive. Returns diagnosis message.
Parameters:
jarName - archive name.
remoteLocation - where to download the archive.

load

public java.lang.String load(java.lang.String jarName)
Loads or reloads an archive. Returns diagnosis message.
Parameters:
jarName - archive name.

delete

public java.lang.String delete(java.lang.String jarName)
Removes an archive. Returns diagnosis message.
Parameters:
jarName - archive name.

getLoaded

public JSPservletPkg.Element getLoaded()
Get list of loaded archives and remote locations.

getDefined

public JSPservletPkg.Element getDefined()
Get list of defined archives and remote locations.