|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.ant.jonasbase.Tasks org.objectweb.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(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 |
---|
public WebContainer()
Method Detail |
---|
public void setPort(java.lang.String portNumber)
portNumber
- the port for the HTTP web Containerpublic void setName(java.lang.String containerName)
containerName
- jetty
or tomcat
.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 |