public final class TldConfig extends java.lang.Object implements LifecycleListener
Constructor and Description |
---|
TldConfig() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static void setNoTldJars(java.lang.String jarNames)
jarNames
- List of comma-separated names of JAR files that are
known not to contain any TLDs@Deprecated public void setTldValidation(boolean tldValidation)
tldValidation
- ignore@Deprecated public boolean getTldValidation()
@Deprecated public boolean getTldNamespaceAware()
true
@Deprecated public void setTldNamespaceAware(boolean tldNamespaceAware)
tldNamespaceAware
- ignoredpublic boolean isRescan()
public void setRescan(boolean rescan)
public Context getContext()
public void setContext(Context context)
public void addApplicationListener(java.lang.String s)
public java.lang.String[] getTldListeners()
public void execute() throws java.lang.Exception
java.lang.Exception
- if a fatal input/output or parsing error occurspublic void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.