com.altair.hwm.webserver
Class HWMServiceContainer

java.lang.Object
  extended by com.altair.hwm.webserver.HWMServiceContainer

public class HWMServiceContainer
extends java.lang.Object

Title: HWMServiceContainer

Description: The service container in EPIC

Company: Altair Engineering, Inc.


Constructor Summary
HWMServiceContainer()
          Constructor
 
Method Summary
 void RegisterService(java.lang.String strContextPath, java.lang.String strDocBase, java.lang.String strDebug, boolean bReloadable, java.util.Iterator itParams)
          Registers a service
 void ShutdownContainer()
          This method stops Tomcat server running on a given port.
 void StartTomcat()
          This method Starts the Tomcat server.
 void StopTomcat()
          This method Stops the Tomcat server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HWMServiceContainer

public HWMServiceContainer()
Constructor

Method Detail

StartTomcat

public void StartTomcat()
                 throws java.lang.Exception
This method Starts the Tomcat server.

Throws:
java.lang.Exception

StopTomcat

public void StopTomcat()
                throws java.lang.Exception
This method Stops the Tomcat server.

Throws:
java.lang.Exception

ShutdownContainer

public void ShutdownContainer()
                       throws java.lang.Exception
This method stops Tomcat server running on a given port.

Throws:
java.lang.Exception

RegisterService

public void RegisterService(java.lang.String strContextPath,
                            java.lang.String strDocBase,
                            java.lang.String strDebug,
                            boolean bReloadable,
                            java.util.Iterator itParams)
                     throws java.lang.Exception
Registers a service

Parameters:
strContextpath - The path of the service
strDocBase - The path on the system to the war or dir
strDebug - If the service should output debug logs
bReloadable - Flag indicating if this service should be reloadable
itParams - The iterator for params. can be null.
Throws:
java.lang.Exception