|
||||||||||
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.Engine
public final class Tomcat5xEmbedded.Engine
org.apache.catalina.Engine
Constructor Summary | |
---|---|
Tomcat5xEmbedded.Engine(java.lang.Object core)
Wraps an engine object. |
Method Summary | |
---|---|
void |
addChild(Tomcat5xEmbedded.Host host)
Adds a new Tomcat5xEmbedded.Host to the engine. |
void |
setBaseDir(java.lang.String baseDir)
Sets the directory that Tomcat will use as a workspace. |
void |
setDefaultHost(java.lang.String name)
Don't know what it really does. |
void |
setName(java.lang.String name)
Assigns a name to engine. |
void |
setParentClassLoader(java.lang.ClassLoader cl)
Sets the ClassLoader that this engine will delegate to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tomcat5xEmbedded.Engine(java.lang.Object core)
core
- Must be non-null.Method Detail |
---|
public void setName(java.lang.String name)
name
- non-nullpublic void setBaseDir(java.lang.String baseDir)
baseDir
- The directory name.public void addChild(Tomcat5xEmbedded.Host host)
Tomcat5xEmbedded.Host
to the engine.
host
- must be non-null.public void setDefaultHost(java.lang.String name)
name
- host name.public void setParentClassLoader(java.lang.ClassLoader cl)
ClassLoader
that this engine will delegate to.
cl
- This needs to be set to ClassLoader
that can see
classes that implement Tomcat, or else you'll get errors like
"Servlet jsp is not available" (because the system failed to
load JspServlet class.)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |