|
|||||||||||
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.Wrapper
org.codehaus.cargo.container.tomcat.internal.Tomcat5xEmbedded.Engine
org.apache.catalina.Engine
Field Summary | |
protected java.lang.Object |
core
Wrapped object to be accessed via reflection. |
Constructor Summary | |
Tomcat5xEmbedded.Engine(java.lang.Object core)
Wraps an engine object. |
Method Summary | |
void |
addChild(Tomcat5xEmbedded.Host host)
Adds a new Host to the engine. |
protected java.lang.Object |
invoke(java.lang.reflect.Method method)
Invokes a method on the wrapped object. |
protected java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object arg1)
Invokes a method on the wrapped object. |
protected java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object[] args)
Invokes a method on the wrapped object. |
protected java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object arg1,
java.lang.Object arg2)
Invokes a method on the wrapped object. |
protected java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
Invokes a method on the wrapped object. |
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 |
Field Detail |
protected final java.lang.Object core
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)
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.)protected java.lang.Object invoke(java.lang.reflect.Method method)
method
- the method to invoke
protected java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object arg1)
method
- the method to invokearg1
- the 1st argument for invocations.
protected java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object arg1, java.lang.Object arg2)
method
- the method to invokearg1
- the 1st argument for invocations.arg2
- the 2nd argument for invocations.
protected java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
method
- the method to invokearg1
- the 1st argument for invocations.arg2
- the 2nd argument for invocations.arg3
- the 3rd argument for invocations.
protected java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object[] args)
method
- the method to invokeargs
- the arguments for invocations.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |