Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » runtime » [javadoc | source]
org.apache.jasper.runtime
public class: TagHandlerPool [javadoc | source]
java.lang.Object
   org.apache.jasper.runtime.TagHandlerPool

Direct Known Subclasses:
    PerThreadTagHandlerPool

Pool of tag handlers that can be reused.
Field Summary
public static  String OPTION_TAGPOOL     
public static  String OPTION_MAXSIZE     
protected  AnnotationProcessor annotationProcessor     
Constructor:
 public TagHandlerPool() 
 public TagHandlerPool(int capacity) 
Method from org.apache.jasper.runtime.TagHandlerPool Summary:
get,   getOption,   getTagHandlerPool,   init,   release,   reuse
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.runtime.TagHandlerPool Detail:
 public Tag get(Class handlerClass) throws JspException 
    Gets the next available tag handler from this tag handler pool, instantiating one if this tag handler pool is empty.
 protected static String getOption(ServletConfig config,
    String name,
    String defaultV) 
 public static TagHandlerPool getTagHandlerPool(ServletConfig config) 
 protected  void init(ServletConfig config) 
 public synchronized  void release() 
    Calls the release() method of all available tag handlers in this tag handler pool.
 public  void reuse(Tag handler) 
    Adds the given tag handler to this tag handler pool, unless this tag handler pool has already reached its capacity, in which case the tag handler's release() method is called.