public interface ResourceInjector
| Modifier and Type | Method and Description |
|---|---|
<T extends javax.servlet.jsp.tagext.JspTag> |
createTagHandlerInstance(java.lang.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(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(javax.servlet.jsp.tagext.JspTag handler)
handler - The tag handler instance whose @PreDestroy methods
to callCopyright (c) 1999-2012 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.