Package org.apache.jasper.compiler
Class TldCache
- java.lang.Object
- 
- org.apache.jasper.compiler.TldCache
 
- 
 public class TldCache extends java.lang.ObjectThis 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 Modifier and Type Field Description static java.lang.StringSERVLET_CONTEXT_ATTRIBUTE_NAME
 - 
Constructor SummaryConstructors Constructor Description TldCache(ServletContext servletContext, java.util.Map<java.lang.String,TldResourcePath> uriTldResourcePathMap, java.util.Map<TldResourcePath,TaglibXml> tldResourcePathTaglibXmlMap)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TldCachegetInstance(ServletContext servletContext)TaglibXmlgetTaglibXml(TldResourcePath tldResourcePath)TldResourcePathgetTldResourcePath(java.lang.String uri)
 
- 
- 
- 
Constructor Detail- 
TldCachepublic TldCache(ServletContext servletContext, java.util.Map<java.lang.String,TldResourcePath> uriTldResourcePathMap, java.util.Map<TldResourcePath,TaglibXml> tldResourcePathTaglibXmlMap) 
 
- 
 - 
Method Detail- 
getInstancepublic static TldCache getInstance(ServletContext servletContext) 
 - 
getTldResourcePathpublic TldResourcePath getTldResourcePath(java.lang.String uri) 
 - 
getTaglibXmlpublic TaglibXml getTaglibXml(TldResourcePath tldResourcePath) throws JasperException - Throws:
- JasperException
 
 
- 
 
-