org.codehaus.cargo.container.tomcat.internal
Class Tomcat5xEmbedded.Host

java.lang.Object
  extended by org.codehaus.cargo.container.tomcat.internal.Tomcat5xEmbedded.Host
Enclosing class:
Tomcat5xEmbedded

public final class Tomcat5xEmbedded.Host
extends java.lang.Object

See Also:
org.apache.catalina.Host

Constructor Summary
Tomcat5xEmbedded.Host(java.lang.Object core)
          Wraps a Tomcat5xEmbedded.Host object.
 
Method Summary
 void addChild(Tomcat5xEmbedded.Context context)
          Deploys a web application.
 java.lang.String getName()
          Gets the name of thist host.
 void removeChild(Tomcat5xEmbedded.Context context)
          Removes a web application.
 void setAutoDeploy(boolean b)
          Supposed to enable auto-deployment of war file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tomcat5xEmbedded.Host

public Tomcat5xEmbedded.Host(java.lang.Object core)
Wraps a Tomcat5xEmbedded.Host object.

Parameters:
core - non-null.
Method Detail

setAutoDeploy

public void setAutoDeploy(boolean b)
Supposed to enable auto-deployment of war file.

Parameters:
b - true to enable.

getName

public java.lang.String getName()
Gets the name of thist host.

Returns:
host name.

addChild

public void addChild(Tomcat5xEmbedded.Context context)
Deploys a web application.

Parameters:
context - context to be deployed.

removeChild

public void removeChild(Tomcat5xEmbedded.Context context)
Removes a web application.

Parameters:
context - context to be removed.


Copyright © 2004-2010 Codehaus. All Rights Reserved.