Package com.sun.enterprise.web.jsp
Class ResourceInjectorImpl
- java.lang.Object
-
- com.sun.enterprise.web.jsp.ResourceInjectorImpl
-
- All Implemented Interfaces:
org.glassfish.jsp.api.ResourceInjector
public class ResourceInjectorImpl extends Object implements org.glassfish.jsp.api.ResourceInjector
Implementation of org.glassfish.jsp.api.ResourceInjector- Author:
- Jan Luehe
-
-
Field Summary
Fields Modifier and Type Field Description protected static Logger_loggerprotected static ResourceBundle_rb
-
Constructor Summary
Constructors Constructor Description ResourceInjectorImpl(WebModule webModule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends jakarta.servlet.jsp.tagext.JspTag>
TcreateTagHandlerInstance(Class<T> clazz)Instantiates and injects the given tag handler class.voidpreDestroy(jakarta.servlet.jsp.tagext.JspTag handler)Invokes any @PreDestroy methods defined on the instance's class (and super-classes).
-
-
-
Field Detail
-
_logger
protected static final Logger _logger
-
_rb
protected static final ResourceBundle _rb
-
-
Constructor Detail
-
ResourceInjectorImpl
public ResourceInjectorImpl(WebModule webModule)
-
-
Method Detail
-
createTagHandlerInstance
public <T extends jakarta.servlet.jsp.tagext.JspTag> T createTagHandlerInstance(Class<T> clazz) throws Exception
Instantiates and injects the given tag handler class.- Specified by:
createTagHandlerInstancein interfaceorg.glassfish.jsp.api.ResourceInjector- Parameters:
clazz- the TagHandler class to be instantiated and injected- Throws:
Exception- if an error has occurred during instantiation or injection
-
preDestroy
public void preDestroy(jakarta.servlet.jsp.tagext.JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class (and super-classes).- Specified by:
preDestroyin interfaceorg.glassfish.jsp.api.ResourceInjector- Parameters:
handler- The tag handler instance whose PreDestroy-annotated method to call
-
-