|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface ResourceInjector
Interface for injecting injectable resources into tag handler instances.
| 方法摘要 | |
|---|---|
void |
inject(javax.servlet.jsp.tagext.JspTag handler)
Injects the injectable resources from the component environment associated with this ResourceInjector into the given tag handler instance. |
void |
preDestroy(javax.servlet.jsp.tagext.JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class (and super-classes). |
void |
setContext(javax.servlet.ServletContext servletContext)
Associates this ResourceInjector with the component environment of the given servlet context. |
| 方法详细信息 |
|---|
void setContext(javax.servlet.ServletContext servletContext)
servletContext - The servlet context
void inject(javax.servlet.jsp.tagext.JspTag handler)
throws Exception
Any @PostConstruct methods on the class (and super-classes) of the instance will be invoked after injection.
handler - The tag handler instance to be injected
Exception - if an error occurs during injectionvoid preDestroy(javax.servlet.jsp.tagext.JspTag handler)
handler - The tag handler instance whose @PreDestroy methods
to call
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||