|
Apache Tomcat 7.0.26 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.runtime.TagHandlerPool
org.apache.jasper.runtime.PerThreadTagHandlerPool
@Deprecated public class PerThreadTagHandlerPool
Thread-local based pool of tag handlers that can be reused.
Field Summary |
---|
Fields inherited from class org.apache.jasper.runtime.TagHandlerPool |
---|
instanceManager, OPTION_MAXSIZE, OPTION_TAGPOOL |
Constructor Summary | |
---|---|
PerThreadTagHandlerPool()
Deprecated. Constructs a tag handler pool with the default capacity. |
Method Summary | |
---|---|
Tag |
get(java.lang.Class<? extends Tag> handlerClass)
Deprecated. Gets the next available tag handler from this tag handler pool, instantiating one if this tag handler pool is empty. |
protected void |
init(ServletConfig config)
Deprecated. |
void |
release()
Deprecated. Calls the release() method of all tag handlers in this tag handler pool. |
void |
reuse(Tag handler)
Deprecated. 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. |
Methods inherited from class org.apache.jasper.runtime.TagHandlerPool |
---|
getOption, getTagHandlerPool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerThreadTagHandlerPool()
Method Detail |
---|
protected void init(ServletConfig config)
init
in class TagHandlerPool
public Tag get(java.lang.Class<? extends Tag> handlerClass) throws JspException
get
in class TagHandlerPool
handlerClass
- Tag handler class
JspException
- if a tag handler cannot be instantiatedpublic void reuse(Tag handler)
reuse
in class TagHandlerPool
handler
- Tag handler to add to this tag handler poolpublic void release()
release
in class TagHandlerPool
|
Apache Tomcat 7.0.26 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |