|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.tomcat.TldConfig
public final class TldConfig
Startup event listener for a Context that configures application listeners configured in any TLD files.
Constructor Summary | |
---|---|
TldConfig()
|
Method Summary | |
---|---|
void |
addApplicationListener(String s)
|
void |
execute()
Scan for and configure all tag library descriptors found in this web application. |
org.apache.catalina.Context |
getContext()
|
String[] |
getTldListeners()
|
boolean |
getTldNamespaceAware()
Get the server.xml |
boolean |
getTldValidation()
Get the server.xml |
boolean |
isRescan()
|
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event)
|
void |
setContext(org.apache.catalina.Context context)
|
static void |
setNoTldJars(String jarNames)
Sets the list of JARs that are known not to contain any TLDs. |
void |
setRescan(boolean rescan)
|
void |
setTldNamespaceAware(boolean tldNamespaceAware)
Set the namespace aware feature of the XML parser used when parsing xml instances. |
void |
setTldValidation(boolean tldValidation)
Set the validation feature of the XML parser used when parsing xml instances. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TldConfig()
Method Detail |
---|
public static void setNoTldJars(String jarNames)
jarNames
- List of comma-separated names of JAR files that are
known not to contain any TLDspublic void setTldValidation(boolean tldValidation)
tldValidation
- true to enable xml instance validationpublic boolean getTldValidation()
public boolean getTldNamespaceAware()
public void setTldNamespaceAware(boolean tldNamespaceAware)
tldNamespaceAware
- true to enable namespace awarenesspublic boolean isRescan()
public void setRescan(boolean rescan)
public org.apache.catalina.Context getContext()
public void setContext(org.apache.catalina.Context context)
public void addApplicationListener(String s)
public String[] getTldListeners()
public void execute() throws Exception
Exception
- if a fatal input/output or parsing error occurspublic void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
lifecycleEvent
in interface org.apache.catalina.LifecycleListener
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |