org.apache.catalina.startup
Class TldConfig

java.lang.Object
  extended byorg.apache.catalina.startup.TldConfig

public final class TldConfig
extends java.lang.Object

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

Author:
Craig R. McClanahan, Jean-Francois Arcand, Costin Manolache

Constructor Summary
TldConfig()
           
 
Method Summary
 void addApplicationListener(java.lang.String s)
           
 void execute()
          Scan for and configure all tag library descriptors found in this web application.
 Context getContext()
           
 java.lang.String[] getTldListeners()
           
 boolean isRescan()
           
protected static SchemaResolver registerLocalSchema(SchemaResolver entityResolver)
          Utilities used to force the parser to use local schema, when available, instead of the schemaLocation XML element.
 void setContext(Context context)
           
 void setRescan(boolean rescan)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TldConfig

public TldConfig()
Method Detail

isRescan

public boolean isRescan()

setRescan

public void setRescan(boolean rescan)

getContext

public Context getContext()

setContext

public void setContext(Context context)

addApplicationListener

public void addApplicationListener(java.lang.String s)

getTldListeners

public java.lang.String[] getTldListeners()

execute

public void execute()
             throws java.lang.Exception
Scan for and configure all tag library descriptors found in this web application.

Throws:
java.lang.Exception - if a fatal input/output or parsing error occurs

registerLocalSchema

protected static SchemaResolver registerLocalSchema(SchemaResolver entityResolver)
Utilities used to force the parser to use local schema, when available, instead of the schemaLocation XML element.

Parameters:
entityResolver - The instance on which properties are set.
Returns:
an instance ready to parse XML schema.


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.