jrunx.connectorinstaller
Class IISInstaller

java.lang.Object
  |
  +--jrunx.connectorinstaller.WebServerInstaller
        |
        +--jrunx.connectorinstaller.IISInstaller

public class IISInstaller
extends WebServerInstaller

JRun 4.0 Installer for connector on NT/Windows 2000 IIS.

Version:
JRun version 4.0 Note: IISAdmin service is required to modify/access the metabase. It must either be Started or have a StartupType of automatic or manual. If it is Stopped and Disabled all metabase operations will fail.
Author:
Carol Frampton (cframpton@macromedia.com)

Field Summary
protected  Win32Handler handler
           
static int IIS_VERSION_MAJOR_MAX
           
static int IIS_VERSION_MAJOR_MIN
           
static int IIS_VERSION_MINOR
           
static java.lang.String VERSIONS_SUPPORTED
           
 
Fields inherited from class jrunx.connectorinstaller.WebServerInstaller
jrunInfo, supportedVersionStr, wsBuildNum, wsInfo, wsMajorVer, wsMinorVer, wsVersionStr
 
Method Summary
 void getConnectorConfig()
          Retrieve the IIS connector filter configuration.
 WebServerState getStateWS()
           
 void installConnector()
          Install the IIS connector filter, restarting the web server if it is currently running.
 void installConnector(boolean bRestart)
          Install the IIS connector filter
 boolean isValidVersion()
           
 void modifyConnector()
          Modify the IIS connector filter from the web server, restarting IIS if it is currently running.
 void modifyConnector(boolean bRestart)
          Modify the exisiting IIS configuration.
 void removeConnector()
          Remove the IIS connector filter from the web server, restarting IIS if it is currently running.
 void removeConnector(boolean bRestart)
          Remove the IIS connector filter from the web server.
 void restartWS()
          Stop the web server
 void startWS()
          Start the IIS web server
 void stopWS()
          Stop the IIS 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

IIS_VERSION_MAJOR_MIN

public static final int IIS_VERSION_MAJOR_MIN

IIS_VERSION_MAJOR_MAX

public static final int IIS_VERSION_MAJOR_MAX

IIS_VERSION_MINOR

public static final int IIS_VERSION_MINOR

VERSIONS_SUPPORTED

public static final java.lang.String VERSIONS_SUPPORTED

handler

protected Win32Handler handler
Method Detail

installConnector

public void installConnector()
                      throws java.lang.Exception
Install the IIS connector filter, restarting the web server if it is currently running.
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 IIS connector filter
Overrides:
installConnector in class WebServerInstaller
Parameters:
bRestart - explicit restart of web server
Throws:
java.lang.Exception - if error during installation of filter

removeConnector

public void removeConnector()
                     throws java.lang.Exception
Remove the IIS connector filter from the web server, restarting IIS if it is currently running.
Overrides:
removeConnector in class WebServerInstaller
Throws:
java.lang.Exception - if error during removal of filter

removeConnector

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

modifyConnector

public void modifyConnector()
                     throws java.lang.Exception
Modify the IIS connector filter from the web server, restarting IIS if it is currently running.
Overrides:
modifyConnector in class WebServerInstaller
Throws:
java.lang.Exception - if error during removal of filter

modifyConnector

public void modifyConnector(boolean bRestart)
                     throws java.lang.Exception
Modify the exisiting IIS configuration.
Overrides:
modifyConnector in class WebServerInstaller
Parameters:
bRestart - explicit restart of web server
Throws:
java.lang.Exception - if error during modification

getConnectorConfig

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

startWS

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

stopWS

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

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.