jrunx.connectorinstaller
Class NESInstaller

java.lang.Object
  |
  +--jrunx.connectorinstaller.WebServerInstaller
        |
        +--jrunx.connectorinstaller.NESInstaller
Direct Known Subclasses:
ZeusInstaller

public class NESInstaller
extends WebServerInstaller

JRun 4.0 Installer for connector on Netscape/iplanet. For Netscape, the webServerDir is the NES configuration directory.

Version:
JRun version 4.0
Author:
Carol Frampton (cframpton@macromedia.com)

Field Summary
static java.lang.String ERROR_LOG
           
 
Fields inherited from class jrunx.connectorinstaller.WebServerInstaller
jrunInfo, supportedVersionStr, wsBuildNum, wsInfo, wsMajorVer, wsMinorVer, wsVersionStr
 
Method Summary
 void getConnectorConfig()
          Retrieve the NES connector filter configuration.
 WebServerState getStateWS()
           
 void installConnector()
          Install the NES connector filter, restarting Netscape if it is running or it's status can't be determined.
 void installConnector(boolean bRestart)
          Install the NES connector filter, restarting Netscape if requested.
 boolean isValidVersion()
           
 void modifyConnector()
          Modify the NES connector filter configuration , restarting Netscape if it is running or it's status can't be determined.
 void modifyConnector(boolean bRestart)
          Modify the NES connector filter configuration for the web server.
 void removeConnector()
          Remove the NES connector filter, restarting Netscape if it is running or it's status can't be determined.
 void removeConnector(boolean bRestart)
          Remove the NES connector filter from the web server.
 void restartWS()
          Stop the web server
 void startWS()
          Start the web server
 void stopWS()
          Stop the web server
 
Methods inherited from class jrunx.connectorinstaller.WebServerInstaller
createObject, createObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_LOG

public static final java.lang.String ERROR_LOG
Method Detail

installConnector

public void installConnector()
                      throws java.lang.Exception
Install the NES connector filter, restarting Netscape if it is running or it's status can't be determined.
Overrides:
installConnector in class WebServerInstaller
Throws:
java.lang.Exception - if error during installation of filter

installConnector

public void installConnector(boolean bRestart)
                      throws java.lang.Exception
Install the NES connector filter, restarting Netscape if requested.
Overrides:
installConnector in class WebServerInstaller
Parameters:
bRestart - if restart of Apache desired
Throws:
java.lang.Exception - if error during installation of filter

removeConnector

public void removeConnector()
                     throws java.lang.Exception
Remove the NES connector filter, restarting Netscape if it is running or it's status can't be determined.
Overrides:
removeConnector in class WebServerInstaller
Throws:
java.lang.Exception - if error during installation of filter

removeConnector

public void removeConnector(boolean bRestart)
                     throws java.lang.Exception
Remove the NES connector filter from the web server.
Overrides:
removeConnector in class WebServerInstaller
Parameters:
bRestart - if restart of Apache desired
Throws:
java.lang.Exception - if error during removal of filter

modifyConnector

public void modifyConnector()
                     throws java.lang.Exception
Modify the NES connector filter configuration , restarting Netscape if it is running or it's status can't be determined.
Overrides:
modifyConnector in class WebServerInstaller
Throws:
java.lang.Exception - if error during installation of filter

modifyConnector

public void modifyConnector(boolean bRestart)
                     throws java.lang.Exception
Modify the NES connector filter configuration for the web server.
Overrides:
modifyConnector in class WebServerInstaller
Parameters:
bRestart - if restart of Apache desired
Throws:
java.lang.Exception - if error during removal of filter

getConnectorConfig

public void getConnectorConfig()
                        throws java.lang.Exception
Retrieve the NES connector filter configuration.
Overrides:
getConnectorConfig in class WebServerInstaller
Throws:
java.lang.Exception - if error

startWS

public void startWS()
             throws WebServerException
Start the web server
Overrides:
startWS in class WebServerInstaller
Throws:
java.lang.Exception - if error starting NES

stopWS

public void stopWS()
            throws WebServerException
Stop the web server
Overrides:
stopWS in class WebServerInstaller
Throws:
java.lang.Exception - if error stopping NES

restartWS

public void restartWS()
               throws WebServerException
Stop the web server
Overrides:
restartWS in class WebServerInstaller
Throws:
java.lang.Exception - if error stopping web server

getStateWS

public WebServerState getStateWS()
Overrides:
getStateWS in class WebServerInstaller

isValidVersion

public boolean isValidVersion()
Overrides:
isValidVersion in class WebServerInstaller


Copyright � 2002 Macromedia Corporation. All Rights Reserved.