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 setAjpPort(java.lang.String portNumber)
          Set the AJP port number for the WebContainer
 void setClusterListenPort(java.lang.String portNumber)
          Set the listen cluster port number for the WebContainer
 void setClusterMcastAddr(java.lang.String address)
          Set the multicast addr for the cluster
 void setClusterMcastPort(java.lang.String portNumber)
          Set the multicast port for the cluster
 void setDirectorPort(java.lang.String portNumber)
          Set the Director port number for the WebContainer
 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, addTasks, addTasks, 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

setAjpPort

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

Parameters:
portNumber - the AJP port

setDirectorPort

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

Parameters:
portNumber - the Director port

setClusterListenPort

public void setClusterListenPort(java.lang.String portNumber)
Set the listen cluster port number for the WebContainer

Parameters:
portNumber - the Director port

setClusterMcastAddr

public void setClusterMcastAddr(java.lang.String address)
Set the multicast addr for the cluster

Parameters:
address - the multicast address

setClusterMcastPort

public void setClusterMcastPort(java.lang.String portNumber)
Set the multicast port for the cluster

Parameters:
portNumber - the multicast port