public interface ResourceInjector
Modifier and Type | Method and Description |
---|---|
<T extends JspTag> |
createTagHandlerInstance(java.lang.Class<T> clazz)
Instantiates and injects the given tag handler class.
|
void |
preDestroy(JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class
(and super-classes).
|
<T extends JspTag> T createTagHandlerInstance(java.lang.Class<T> clazz) throws java.lang.Exception
clazz
- the tag handler class to be instantiated and injectedjava.lang.Exception
- if an error has occurred during instantiation or
injectionvoid preDestroy(JspTag handler)
handler
- The tag handler instance whose @PreDestroy methods
to call