|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.tomcat.internal.Tomcat5xEmbedded.Embedded
public final class Tomcat5xEmbedded.Embedded
org.apache.catalina.startup.Embedded
Constructor Summary | |
---|---|
Tomcat5xEmbedded.Embedded()
Creates a new Tomcat5xEmbedded.Embedded Tomcat. |
Method Summary | |
---|---|
void |
addConnector(Tomcat5xEmbedded.Connector connector)
Adds a connector. |
void |
addEngine(Tomcat5xEmbedded.Engine e)
Adds a new Tomcat5xEmbedded.Engine . |
Tomcat5xEmbedded.Connector |
createConnector(java.net.InetAddress inetAddress,
int port,
boolean secure)
Creates a new connector. |
Tomcat5xEmbedded.Context |
createContext(java.lang.String path,
java.lang.String docBase)
Creates an web application for deployment. |
Tomcat5xEmbedded.Engine |
createEngine()
Creates a new engine. |
Tomcat5xEmbedded.Host |
createHost(java.lang.String name,
java.io.File appBase)
Creates a new virtual host mapping. |
void |
setCatalinaBase(java.io.File dir)
Sets the Tomcat installation where catalina jars are loaded from. |
void |
setCatalinaHome(java.io.File dir)
Sets the directory where Tomcat stores data file for the current running instance. |
void |
setRealm(Tomcat5xEmbedded.MemoryRealm realm)
Associates a realm to Tomcat. |
void |
start()
Starts the container. |
void |
stop()
Stops the container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tomcat5xEmbedded.Embedded()
Tomcat5xEmbedded.Embedded
Tomcat.
Method Detail |
---|
public Tomcat5xEmbedded.Engine createEngine()
public Tomcat5xEmbedded.Host createHost(java.lang.String name, java.io.File appBase)
name
- Host name.appBase
- The "webapp" directory.
public void start()
public void stop()
public void addEngine(Tomcat5xEmbedded.Engine e)
Tomcat5xEmbedded.Engine
.
e
- must be non-null.public Tomcat5xEmbedded.Connector createConnector(java.net.InetAddress inetAddress, int port, boolean secure)
inetAddress
- non-null if you want to bind to specific interfacesport
- TCP port number.secure
- Not sure what this really is.
public void addConnector(Tomcat5xEmbedded.Connector connector)
connector
- must be non-null.public Tomcat5xEmbedded.Context createContext(java.lang.String path, java.lang.String docBase)
path
- the context URLdocBase
- the exploded war file image.
public void setRealm(Tomcat5xEmbedded.MemoryRealm realm)
realm
- realm object.public void setCatalinaBase(java.io.File dir)
dir
- the home directory.public void setCatalinaHome(java.io.File dir)
dir
- the home directory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |