org.apache.catalina.startup

Class ContextConfig

Implemented Interfaces:
LifecycleListener

public final class ContextConfig
extends java.lang.Object
implements LifecycleListener

Startup event listener for a Context that configures the properties of that Context, and the associated defined servlets.

Version:
$Revision: 1.44.2.2 $ $Date: 2004/09/24 08:23:30 $

Authors:
Craig R. McClanahan
Jean-Francois Arcand

Method Summary

static Digester
createWebXmlDigester(boolean namespaceAware, boolean validation)
int
getDebug()
Return the debugging detail level for this component.
String
getDefaultWebXml()
Return the location of the default deployment descriptor
void
lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Context.
void
setDebug(int debug)
Set the debugging detail level for this component.
void
setDefaultWebXml(String path)
Set the location of the default deployment descriptor

Method Details

createWebXmlDigester

public static Digester createWebXmlDigester(boolean namespaceAware,
                                            boolean validation)


getDebug

public int getDebug()
Return the debugging detail level for this component.


getDefaultWebXml

public String getDefaultWebXml()
Return the location of the default deployment descriptor


lifecycleEvent

public void lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Context.
Specified by:
lifecycleEvent in interface LifecycleListener

Parameters:
event - The lifecycle event that has occurred


setDebug

public void setDebug(int debug)
Set the debugging detail level for this component.

Parameters:
debug - The new debugging detail level


setDefaultWebXml

public void setDefaultWebXml(String path)
Set the location of the default deployment descriptor

Parameters:
path - Absolute/relative path to the default web.xml


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.