Apache Tomcat 6.0.53

org.apache.catalina.startup
Class TldConfig

java.lang.Object
  extended by org.apache.catalina.startup.TldConfig
All Implemented Interfaces:
LifecycleListener

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

Startup event listener for a Context that configures application listeners configured in any TLD files.

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 getTldNamespaceAware()
          Deprecated. This option will be removed in 7.0.x.
 boolean getTldValidation()
          Deprecated. This option will be removed in 7.0.x.
 boolean isRescan()
           
 void lifecycleEvent(LifecycleEvent event)
          Acknowledge the occurrence of the specified event.
 void setContext(Context context)
           
static void setNoTldJars(java.lang.String jarNames)
          Sets the list of JARs that are known not to contain any TLDs.
 void setRescan(boolean rescan)
           
 void setTldNamespaceAware(boolean tldNamespaceAware)
          Deprecated. This option will be removed in 7.0.x.
 void setTldValidation(boolean tldValidation)
          Deprecated. This option will be removed in 7.0.x.
 
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

setNoTldJars

public static void setNoTldJars(java.lang.String jarNames)
Sets the list of JARs that are known not to contain any TLDs.

Parameters:
jarNames - List of comma-separated names of JAR files that are known not to contain any TLDs

setTldValidation

@Deprecated
public void setTldValidation(boolean tldValidation)
Deprecated. This option will be removed in 7.0.x.

*.tld are parsed using the TLD validation setting of the associated context.

Parameters:
tldValidation - ignore

getTldValidation

@Deprecated
public boolean getTldValidation()
Deprecated. This option will be removed in 7.0.x.

*.tld are parsed using the TLD validation setting of the associated context.

Returns:
true if validation is enabled.

getTldNamespaceAware

@Deprecated
public boolean getTldNamespaceAware()
Deprecated. This option will be removed in 7.0.x.

*.tld files are always parsed using a namespace aware parser.

Returns:
Always true

setTldNamespaceAware

@Deprecated
public void setTldNamespaceAware(boolean tldNamespaceAware)
Deprecated. This option will be removed in 7.0.x.

*.tld files are always parsed using a namespace aware parser.

Parameters:
tldNamespaceAware - ignored

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

lifecycleEvent

public void lifecycleEvent(LifecycleEvent event)
Description copied from interface: LifecycleListener
Acknowledge the occurrence of the specified event.

Specified by:
lifecycleEvent in interface LifecycleListener
Parameters:
event - LifecycleEvent that has occurred

Apache Tomcat 6.0.53

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