Package org.apache.jasper.compiler
Class TldCache
java.lang.Object
org.apache.jasper.compiler.TldCache
This class caches parsed instances of TLD files to remove the need for the
 same TLD to be parsed for each JSP that references it. It does not protect
 against multiple threads processing the same, new TLD but it does ensure that
 each all threads will use the same TLD object after parsing.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionTldCache(ServletContext servletContext, Map<String, TldResourcePath> uriTldResourcePathMap, Map<TldResourcePath, TaglibXml> tldResourcePathTaglibXmlMap) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic TldCachegetInstance(ServletContext servletContext) getTaglibXml(TldResourcePath tldResourcePath) getTldResourcePath(String uri) 
- 
Field Details- 
SERVLET_CONTEXT_ATTRIBUTE_NAME
 
- 
- 
Constructor Details- 
TldCachepublic TldCache(ServletContext servletContext, Map<String, TldResourcePath> uriTldResourcePathMap, Map<TldResourcePath, TaglibXml> tldResourcePathTaglibXmlMap) 
 
- 
- 
Method Details- 
getInstance
- 
getTldResourcePath
- 
getTaglibXml- Throws:
- JasperException
 
 
-