| java.lang.Object org.objectweb.jonas.ant.jonasbase.Tasks org.objectweb.jonas.ant.jonasbase.WebContainer
WebContainer | public class WebContainer extends Tasks (Code) | | Allow to configure the WebContainer service
author: Florent Benoit |
WebContainer | public WebContainer()(Code) | | Default constructor
|
addConfiguredJetty | public void addConfiguredJetty(Jetty jetty)(Code) | | Configure the Jetty WebContainer.
Parameters: jetty - Jetty Configuration. |
addConfiguredTomcat | public void addConfiguredTomcat(Tomcat tomcat)(Code) | | Configure the Tomcat WebContainer.
Parameters: tomcat - Tomcat Configuration. |
setName | public void setName(String containerName)(Code) | | Set the name of the web container : jetty or tomcat.
Optionnal, if missing, we look at the inner element <jetty> or <tomcat>.
This setting is priority 1 if both <jetty> or <tomcat> are set.
Parameters: containerName - jetty or tomcat . |
setPort | public void setPort(String portNumber)(Code) | | Set the port number for the WebContainer.
Optionnal, if missing, we look at the inner element <jetty>/<http> or <tomcat>/<http>.
It overrides both <jetty>/<http> or <tomcat>/<http> values if set.
Parameters: portNumber - the port for the HTTP web Container |
|
|