public interface ResourceInjector
Modifier and Type | Method | 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).
|
<T extends javax.servlet.jsp.tagext.JspTag> T createTagHandlerInstance(Class<T> clazz) throws Exception
clazz
- the tag handler class to be instantiated and injectedException
- if an error has occurred during instantiation or
injectionvoid preDestroy(javax.servlet.jsp.tagext.JspTag handler)
handler
- The tag handler instance whose @PreDestroy methods
to callCopyright © 2019 Oracle. All rights reserved.