fedora.utilities.install.container
Class TomcatServerXML

java.lang.Object
  extended by fedora.utilities.XMLDocument
      extended by fedora.utilities.install.container.TomcatServerXML

public class TomcatServerXML
extends XMLDocument


Constructor Summary
TomcatServerXML(java.io.File serverXML, InstallOptions installOptions)
           
TomcatServerXML(java.io.InputStream serverXML, InstallOptions installOptions)
           
 
Method Summary
 void setHTTPPort()
           
 void setShutdownPort()
           
 void setSSLPort()
          Sets the port and keystore information on the SSL connector if it already exists; creates a new SSL connector, otherwise.
 void update()
           
 
Methods inherited from class fedora.utilities.XMLDocument
getDocument, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomcatServerXML

public TomcatServerXML(java.io.File serverXML,
                       InstallOptions installOptions)
                throws java.io.FileNotFoundException,
                       org.dom4j.DocumentException
Throws:
java.io.FileNotFoundException
org.dom4j.DocumentException

TomcatServerXML

public TomcatServerXML(java.io.InputStream serverXML,
                       InstallOptions installOptions)
                throws java.io.FileNotFoundException,
                       org.dom4j.DocumentException
Throws:
java.io.FileNotFoundException
org.dom4j.DocumentException
Method Detail

update

public void update()
            throws InstallationFailedException
Throws:
InstallationFailedException

setHTTPPort

public void setHTTPPort()
                 throws InstallationFailedException
Throws:
InstallationFailedException

setShutdownPort

public void setShutdownPort()
                     throws InstallationFailedException
Throws:
InstallationFailedException

setSSLPort

public void setSSLPort()
                throws InstallationFailedException
Sets the port and keystore information on the SSL connector if it already exists; creates a new SSL connector, otherwise. Also sets the redirectPort on the non-SSL connector to match.

Throws:
InstallationFailedException