public class ResourceInjectorImpl extends Object implements org.glassfish.jsp.api.ResourceInjector
Modifier and Type | Field and Description |
---|---|
protected static Logger |
_logger |
protected static ResourceBundle |
_rb |
Constructor and Description |
---|
ResourceInjectorImpl(WebModule webModule) |
Modifier and Type | Method and Description |
---|---|
<T extends javax.servlet.jsp.tagext.JspTag> |
createTagHandlerInstance(Class<T> clazz)
Instantiates and injects the given tag handler class.
|
void |
preDestroy(javax.servlet.jsp.tagext.JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class
(and super-classes).
|
protected static final Logger _logger
protected static final ResourceBundle _rb
public ResourceInjectorImpl(WebModule webModule)
public <T extends javax.servlet.jsp.tagext.JspTag> T createTagHandlerInstance(Class<T> clazz) throws Exception
createTagHandlerInstance
in interface org.glassfish.jsp.api.ResourceInjector
clazz
- the TagHandler class to be instantiated and injectedException
- if an error has occurred during instantiation or
injectionpublic void preDestroy(javax.servlet.jsp.tagext.JspTag handler)
preDestroy
in interface org.glassfish.jsp.api.ResourceInjector
handler
- The tag handler instance whose PreDestroy-annotated
method to callCopyright © 2019. All rights reserved.