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

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

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

See Also:
org.apache.catalina.Context

Constructor Summary
Tomcat5xEmbedded.Context(java.lang.Object context)
          Wraps org.apache.catalina.Context object.
 
Method Summary
 void addParameter(java.lang.String key, java.lang.String value)
          Add a new context initialization parameter.
 void reload()
          Reloads this web application.
 void setAvailable(boolean b)
          Makes web application available/unavailable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tomcat5xEmbedded.Context

public Tomcat5xEmbedded.Context(java.lang.Object context)
Wraps org.apache.catalina.Context object.

Parameters:
context - object to be wrapped.
Method Detail

reload

public void reload()
Reloads this web application.


setAvailable

public void setAvailable(boolean b)
Makes web application available/unavailable.

Parameters:
b - true to make it available.

addParameter

public void addParameter(java.lang.String key,
                         java.lang.String value)
Add a new context initialization parameter.

Parameters:
key - non-null parameter name.
value - value


Copyright © 2004-2011 Codehaus. All Rights Reserved.