@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, getTagHandlerPool
public PerThreadTagHandlerPool()
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 classJspException
- 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
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.