@Deprecated public class PerThreadTagHandlerPool extends TagHandlerPool
instanceManager, OPTION_MAXSIZE, OPTION_TAGPOOL| Constructor and Description |
|---|
PerThreadTagHandlerPool()
Deprecated.
Constructs a tag handler pool with the default capacity.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getOption, getTagHandlerPoolpublic PerThreadTagHandlerPool()
protected void init(ServletConfig config)
init in class TagHandlerPoolpublic Tag get(java.lang.Class<? extends Tag> handlerClass) throws JspException
get in class TagHandlerPoolhandlerClass - Tag handler classJspException - if a tag handler cannot be instantiatedpublic void reuse(Tag handler)
reuse in class TagHandlerPoolhandler - Tag handler to add to this tag handler poolpublic void release()
release in class TagHandlerPoolCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.