org.objectweb.jonas.ant.jonasbase
Class WebContainer

java.lang.Object
  extended byorg.objectweb.jonas.ant.jonasbase.Tasks
      extended byorg.objectweb.jonas.ant.jonasbase.WebContainer

public class WebContainer
extends Tasks

Allow to configure the WebContainer service

Author:
Florent Benoit

Constructor Summary
WebContainer()
          Default constructor
 
Method Summary
 void setName(java.lang.String containerName)
          Set the name of the web container : jetty or tomcat
 void setPort(java.lang.String portNumber)
          Set the port number for the WebContainer
 
Methods inherited from class org.objectweb.jonas.ant.jonasbase.Tasks
addTask, getTasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContainer

public WebContainer()
Default constructor

Method Detail

setPort

public void setPort(java.lang.String portNumber)
Set the port number for the WebContainer

Parameters:
portNumber - the port for the web Container

setName

public void setName(java.lang.String containerName)
Set the name of the web container : jetty or tomcat

Parameters:
containerName - jetty or tomcat