|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.ant.jonasbase.Tasks
org.ow2.jonas.ant.jonasbase.WebContainer
public class WebContainer
Allow to configure the WebContainer service.
| Constructor Summary | |
|---|---|
WebContainer()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addConfiguredJetty(Jetty jetty)
Configure the Jetty WebContainer. |
void |
addConfiguredTomcat(Tomcat tomcat)
Configure the Tomcat WebContainer. |
void |
setName(String containerName)
Set the name of the web container : jetty or tomcat. |
void |
setOndemandenabled(String ondemandenabled)
Set the value of the jonas.service.web.ondemand.enabled property in jonas.properties. |
void |
setOndemandredirectPort(String portNumber)
Set the value of the jonas.service.web.ondemand.redirectPort property in jonas.properties. |
void |
setPort(String portNumber)
Set the port number for the WebContainer. |
| Methods inherited from class org.ow2.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 |
|---|
public WebContainer()
| Method Detail |
|---|
public void setPort(String portNumber)
portNumber - the port for the HTTP web Containerpublic void setName(String containerName)
containerName - jetty or tomcat.public void setOndemandenabled(String ondemandenabled)
ondemandenabled - public void setOndemandredirectPort(String portNumber)
portNumber - public void addConfiguredJetty(Jetty jetty)
jetty - Jetty Configuration.public void addConfiguredTomcat(Tomcat tomcat)
tomcat - Tomcat Configuration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||