|
|||||||||||
| 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.Embedded
org.apache.catalina.startup.Embedded| Field Summary | |
protected java.lang.Object |
core
Wrapped object to be accessed via reflection. |
| Constructor Summary | |
Tomcat5xEmbedded.Embedded()
Creates a new Embedded Tomcat. |
|
| Method Summary | |
void |
addConnector(Tomcat5xEmbedded.Connector connector)
Adds a connector. |
void |
addEngine(Tomcat5xEmbedded.Engine e)
Adds a new 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. |
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 |
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 |
| Field Detail |
protected final java.lang.Object core
| Constructor Detail |
public Tomcat5xEmbedded.Embedded()
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)
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.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 | ||||||||||