de.fhg.fokus.hss.main.TomcatServer Class Reference

List of all members.

Detailed Description

Embedded Tomcat Server, as part of the FHoSS The following XML code snippet contains the hierarchy of the Tomcat containers: <Server> &ltService> &ltConnector/> &ltEngine> &ltHost> &ltContext/> &lt/Host> &lt/Engine> &lt/Service> &ltServer> The server runs in a endless thread.

See also:
a href="http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html">Tomcat Documentation
Author:
Andre Charton (dev -at- open-ims dot org)


Public Member Functions

String getPath ()
 It returns the path.
void setPath (String path)
 It sets the path.
void startTomcat () throws Exception
 start the tomcat
Exceptions:
Exception if some exception occurs

void stopTomcat () throws Exception
 It stops tomcat
Exceptions:
Exception. 


Private Attributes

Embedded embedded = null
 The tomcat server object.
Host host = null
 The tomcat host object.
String path = null
 Points to the catalina home path.

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(TomcatServer.class)
 The logger.


Member Function Documentation

String de.fhg.fokus.hss.main.TomcatServer.getPath (  ) 

It returns the path.

Returns:
the path

void de.fhg.fokus.hss.main.TomcatServer.setPath ( String  path  ) 

It sets the path.

Parameters:
path the path

void de.fhg.fokus.hss.main.TomcatServer.startTomcat (  )  throws Exception

start the tomcat

Exceptions:
Exception if some exception occurs

void de.fhg.fokus.hss.main.TomcatServer.stopTomcat (  )  throws Exception

It stops tomcat

Exceptions:
Exception. 


Member Data Documentation

Embedded de.fhg.fokus.hss.main.TomcatServer.embedded = null [private]

The tomcat server object.

Host de.fhg.fokus.hss.main.TomcatServer.host = null [private]

The tomcat host object.

final Logger de.fhg.fokus.hss.main.TomcatServer.LOGGER = Logger.getLogger(TomcatServer.class) [static, private]

The logger.

String de.fhg.fokus.hss.main.TomcatServer.path = null [private]

Points to the catalina home path.


The documentation for this class was generated from the following file:
Generated on Thu Oct 23 04:05:27 2008 for Open IMS Core - FHoSS by  doxygen 1.5.2